Analyzer java-gco-ref

Name

java-gco-ref - Java-Land GC Object Reference Flame Graph

This analyzer profiles garbage collection object references in Java-land code execution within JVM applications. It captures the reference chains and allocation sites of heap objects managed by the garbage collector. The analyzer generates flame graphs that visualize object reference relationships and memory consumption patterns, helping identify memory leaks, excessive object retention, heap memory issues, and memory optimization opportunities in Java applications.

Resource Category

Memory.

Application Type & Technical Stack

  • Java

Command Line Syntax

The analyzer can be invoked directly on the command-line via the orxray utility from the openresty-xray-cli software package.

Alternatively, the analyzer can also be invoked manually or automatically on the web console UI of OpenResty XRay (like on the Advanced web page).

# PID is the target process PID.
orxray analyzer run java-gco-ref -p PID

# trace a shell command directly
orxray analyzer run java-gco-ref -c SHELL_CMD

Tracing Multiple Processes

Not supported.

Output Formats

  • Flame Graphs

Author

The OpenResty Inc. Team.

Copyright (C) by OpenResty Inc. All rights reserved.