HP

HPjmeter 4.1 User's Guide

English
  HPjmeter 4.1 User's Guide > Chapter 6 Analyzing Garbage Collection Data   

–Xverbosegc and –Xloggc Options and Their Corresponding Metrics

The following metrics or features are available depending on the option used to collect data.

Table 6-4 Available Metrics from -Xverbosegc and -Xloggc Garbage Collection Data

Metric-Xverbosegc-Xloggc
Allocation Site StatisticsYesNo
Heap Usage After GCYesYes
Duration (Stop the World)YesYes
Cumulative AllocationYesYes
Creation RateYesYes
Cumulative GC duration*YesYes
Heap usage before GC*YesYes
Heap capacity*YesYes
Reclaimed bytes*YesYes
Promoted bytes*YesNo
Percentage of Time in GC*YesYes

 

† Requires the additional option -XX:+PrintAllocStatistics. See Collecting Allocation Site Statistics for Viewing in HPjmeter for an example of command syntax.

* You can create a graphical view of these metrics using the User-Defined X-Y Axes visualizer. Other raw metrics are also available for graphing from this visualizer.

See also: