HP

HPjmeter 4.1 User's Guide

English
  HPjmeter 4.1 User's Guide > Chapter 5 Profiling Applications   

–Xeprof and –agentlib:hprof Profiling Options and Their Corresponding Metrics

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

Table 5-4 Available Metrics or Features from -Xeprof and -agentlib:hprof Data

Feature-Xeprof-agentlib:hprof
cpu=samplescpu=timesheap=dumpheap=sites
Method Call CountYesNoYes [2]N/AN/A
Exclusive Method Times (CPU)YesYes [1]Yes 1N/AN/A
Exclusive Method Clock TimesYesNoNoN/AN/A
Call Graph Tree with Call CountYesNoYes 2N/AN/A
Call Graph Tree with Clock TimeYesNoNoN/AN/A
Call Graph Tree with CPUYesYes 1,2Yes 1,2N/AN/A
Inclusive Method CPU TimesYesYes 1,2Yes 1,2N/AN/A
Inclusive Method Clock TimesYesNoNoN/AN/A
Threads/Groups HistogramYesYes [3]Yes 3Yes 3Yes 3
Objects Created by MethodYes 2, [4]N/AYes 2NoYes
Created Objects (Count)Yes 2,4N/AYes 2NoYes
Created Objects (Bytes)NoN/AN/ANoYes
Live Objects (Count)NoN/AN/AYesNo
Live Objects (Bytes)NoN/AN/AYesNo
Live Array SizesNoN/AN/AYesNo
Unfinalized ObjectsNoNoNoYesNo
Reference Graph TreeNoN/AN/AYesNo
Reference Sub-Trees by SizeNoN/AN/AYesNo
Class LoadersNoNoNoYesNo
Residual Objects (Count)NoN/AN/AYesYes
Residual Objects (Bytes)NoN/AN/AYesYes
Contested Lock Claims by MethodYesNoNoN/AN/A
All Lock Claims by MethodYesNoNoN/AN/A
Lock Delay - Method ExclusiveYesNoNoN/AN/A
Lock Delay - Call Graph TreeYesNoNoN/AN/A
Lock Delay - Method InclusiveYesNoNoN/AN/A
Average Exclusive Method CPU Times*YesNoYes 1,2N/AN/A
Average Exclusive Method Clock Times*YesNoNoN/AN/A
Average Inclusive Method CPU Times*YesNoYes 1,2N/AN/A
Average Inclusive Method Clock Times*YesNoNoN/AN/A
Starvation by Method*YesNoNoN/AN/A
Starvation Ratio*YesNoNoN/AN/A
Methods with Loops*2YesNoYesN/AN/A
Lock Contention Ratio by Method*YesNoNoN/AN/A
Average Exclusive Method Lock Delay*YesNoNoN/AN/A
Exclusive Method Lock Delay / Clock Time*YesNoNoN/AN/A
Average Inclusive Method Lock Delay*YesNoNoN/AN/A
Inclusive Method Lock Delay / Clock Time*YesNoNoN/AN/A
Exclusive Class CPU Times*YesYes 1Yes 1N/AN/A
Exclusive Class Clock Times*YesNoNoN/AN/A
Exclusive Class Lock Delay*YesNoNoN/AN/A
Inline Candidates heuristicsYesNoYesN/AN/A
Exceptions Thrown heuristicsYesNoYesN/AN/A
Memory Leaks heuristicsNoN/AN/AYesNo
Allocation sites for objectsYes 4N/AYesYesYes
Per-thread or per-thread-group viewYesYes 3Yes 3N/AYes 3
Profiling intrusion compensationYesNoNoN/AN/A

 

[1]

[2]

[3]

[4]

[5]

[6]

See also:



[1] Virtual CPU times, unless on HP-UX; some platforms report clock times

[2] Metric values estimated only

[3] Requires thread=y (no color-coding or start/stop times available for threads)

[4] Requires inlining=disable or running the VM in interpreted mode

[5] N/A (not applicable) means the option is irrelevant to the particular feature.

[6] * (asterisk) means this metric is a combination of one or more measures.