Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HPjmeter: User's Guide > Chapter 5 Profiling Applications

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

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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=timescpu=oldheap=dumpheap=sites
Method Call Count YesNoYes 2YesN/AN/A
Exclusive Method Times (CPU) YesYes 1Yes 1Yes 1N/AN/A
Exclusive Method Clock TimesYesNoNoNoN/AN/A
Call Graph Tree with Call Count YesNoYes 2YesN/AN/A
Call Graph Tree with Clock TimeYesNoNoNoN/AN/A
Call Graph Tree with CPUYesYes 1,2Yes 1,2Yes 1N/AN/A
Inclusive Method CPU TimesYesYes 1,2Yes 1,2Yes 1N/AN/A
Inclusive Method Clock TimesYesNoNoNoN/AN/A
Threads/Groups HistogramYesYes 3Yes 3NoYes 3Yes 3
Objects Created by Method Yes 2,4N/AYes 2Yes 2NoYes
Created Objects (Count)Yes 2,4N/AYes 2Yes 2NoYes
Created Objects (Bytes)NoN/AN/AN/ANoYes
Live Objects (Count)NoN/AN/ANoYesNo
Live Objects (Bytes)NoN/AN/ANoYesNo
Live Array SizesNoN/AN/ANoYesNo
Reference Graph Tree NoN/AN/ANoYesNo
Residual Objects (Count)NoN/AN/AN/AYesYes
Residual Objects (Bytes)NoN/AN/AN/AYesYes
Contested Lock Claims by Method YesNoNoNoN/AN/A
All Lock Claims by Method YesNoNoNoN/AN/A
Lock Delay - Method Exclusive YesNoNoNoN/AN/A
Lock Delay - Call Graph Tree YesNoNoNoN/AN/A
Lock Delay - Method Inclusive YesNoNoNoN/AN/A
Average Exclusive Method CPU Times*YesNoYes 1,2Yes 1N/AN/A
Average Exclusive Method Clock Times*YesNoNoNoN/AN/A
Average Inclusive Method CPU Times*YesNoYes 1,2Yes 1N/AN/A
Average Inclusive Method Clock Times*YesNoNoNoN/AN/A
Starvation by Method* YesNoNoNoN/AN/A
Starvation Ratio*YesNoNoNoN/AN/A
Methods with Loops*2YesNoYesYesN/AN/A
Lock Contention Ratio by Method* YesNoNoNoN/AN/A
Average Exclusive Method Lock Delay* YesNoNoNoN/AN/A
Exclusive Method Lock Delay / Clock Time* YesNoNoNoN/AN/A
Average Inclusive Method Lock Delay* YesNoNoNoN/AN/A
Inclusive Method Lock Delay / Clock Time* YesNoNoNoN/AN/A
Exclusive Class CPU Times*YesYes 1Yes 1Yes 1N/AN/A
Exclusive Class Clock Times*YesNoNoNoN/AN/A
Exclusive Class Lock Delay* YesNoNoNoN/AN/A
Inline Candidates heuristicsYesNoYesYesN/AN/A
Exceptions Thrown heuristicsYesNoYesYesN/AN/A
Memory Leaks heuristicsNoN/AN/ANoYesNo
Allocation sites for objectsYes 4N/AYesYesYesYes
Per-thread or per-thread-group viewYesYes 3Yes 3NoN/AYes 3
Profiling intrusion compensationYesNoNoNoN/AN/A

 

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

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

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

See also:

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.