HPjmeter 4.3 User's Guide
Table 25 HPjmeter Features Available by JVM Version (continued)
Command Line Option or Action
JVM
HPjmeter Feature
Java 7.xJava 6.xJava 5.xJava 1.4x
-XX:+PrintGCDetails and
-XX:+PrintHeapAtGC
X——View results of running print
GC details and print heap at
GC together
kill -PROF pid or kill
-21 pid
X (6.0.02)X (5.0.14)—Start and stop verbose GC
data collection with zero
preparation
-Xverbosegc and
-XX:+PrintAllocStatistics
X (6.0.02)X (5.0.14)—Obtain allocation site statistics
and -Xverbosegc data
together
-XX:+UseG1GCX
(7.0.04+)
———Garbage First
* This HPjmeter switch is optional when running Java 6.0.03 or later.
Default Location of Xverbosegc and Allocation Site Statistics Data Files
Table 26 GC Data File and Allocation Site Statistics Locations By Command Option Selection
Resulting Data LocationAction UsedJVM Option(s) Used
Standard outNo special action-Xverbosegc and
-XX:+PrintAllocStatistics
myfile.vgcNo special action-Xverbosegc:myfile.vgc and
-XX:+PrintAllocStatistics
Standard outNo special action-XX:+PrintAllocStatistics
java_pid.vgckill -21 pidNo special option
java_pid.vgckill -21 pid-XX:+PrintAllocStatistics
Standard outkill -21 pid-Xverbosegc and
-XX:+PrintAllocStatistics
myfile.vgckill -21 pid-Xverbosegc:myfile.vgc and
-XX:+PrintAllocStatistics
Standard outkill -21 pid-Xverbosegc
myfile.vgckill -21 pid-Xverbosegc:myfile.vgc
Default Location of Xverbosegc and Allocation Site Statistics Data Files 223