Table
depth=size | Controls the depth of the stack trace for each stack trace taken. |
| • Increasing this value will make the profile data file larger, but it |
| enables HPjmeter to better estimate inclusive method times and |
| generate more complete call graphs. |
| • If you measure application performance by sampling, the default |
| value of 4 is too small for most applications; use values between 6 |
| and 12. |
|
|
cutoff=value | This is the |
| exclusive times or object allocation sites. |
| • Decreasing this value will make the profile data file slightly larger, |
| but it enables HPjmeter to produce more complete call graphs or |
| heap metrics. |
| • Use a value of 0 for all applications. |
|
|
format=a ,format=b | HPjmeter displays both ASCII and binary format of the profile file. |
| NOTE: Note that hprof does not list method arguments. In effect, |
| all overloaded methods are represented as just one method. |
Naming Profile Data Files
Table
Table
Profiling Option | File Name Suffix |
|
|
.eprof | |
|
|
.hprof.txt | |
|
|
For other file suffixes recognized by HPjmeter, see Naming Monitoring Data Files (page 39)
–Xeprof and –agentlib:hprof Profiling Options and Their Corresponding Metrics
Table
Table
Feature |
|
| |||
|
|
|
|
|
|
|
| cpu=samples | cpu=times | heap=dump | heap=sites |
|
|
|
|
|
|
Yes | No | Yes2 | N/A | N/A | |
Yes | Yes 1 | Yes 1 | N/A | N/A | |
|
|
|
|
| |
|
|
|
|
|
|
Yes | No | No | N/A | N/A | |
|
|
|
|
| |
|
|
|
|
|
|
Yes | No | Yes 2 | N/A | N/A | |
|
|
|
|
| |
|
|
|
|
|
|
Yes | No | No | N/A | N/A | |
|
|
|
|
| |
|
|
|
|
|
|
Yes | Yes 1,2 | Yes 1,2 | N/A | N/A | |
|
|
|
|
| |
|
|
|
|
|
|
65 |