HPjmeter 4.2 User's Guide
Table 5-4 Available Metrics or Features from -Xeprof and -agentlib:hprof Data (continued)
-agentlib:hprof-XeprofFeature
heap=sitesheap=dumpcpu=timescpu=samples
N/AN/ANoNoYesAverage Inclusive Method
Clock Times* (page 143)
N/AN/ANoNoYesStarvation by Method*
(page 143)
N/AN/ANoNoYesStarvation Ratio* (page 144)
N/AN/AYesNoYesMethods with Loops*
(page 144)
2
N/AN/ANoNoYesLock Contention Ratio by
Method* (page 155)
N/AN/ANoNoYesAverage Exclusive Method
Lock Delay* (page 155)
N/AN/ANoNoYesExclusive Method Lock
Delay / Clock Time*
(page 155)
N/AN/ANoNoYesAverage Inclusive Method
Lock Delay* (page 155)
N/AN/ANoNoYesInclusive Method Lock Delay
/ Clock Time* (page 155)
N/AN/AYes
1
Yes
1
YesExclusive Class CPU Times*
(page 144)
N/AN/ANoNoYesExclusive Class Clock Times*
(page 144)
N/AN/ANoNoYesExclusive Class Lock Delay*
(page 156)
N/AN/AYesNoYesInline Candidates (page 156)
heuristics
N/AN/AYesNoYesExceptions Thrown (page 156)
heuristics
NoYesN/AN/ANoMemory Leaks (page 156)
heuristics
YesYesYesN/AYes
4
Allocation sites for objects
Yes
3
N/AYes
3
Yes
3
YesPer-thread or
per-thread-group view
N/AN/ANoNoYesProfiling intrusion
compensation
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
See also:
• Profiling with -Xeprof (page 61)
• Profiling with -agentlib:hprof (page 63)
–Xeprof and –agentlib:hprof Profiling Options and Their Corresponding Metrics 67