HP

HPjmeter 4.1 User's Guide

English
  HPjmeter 4.1 User's Guide > Appendix A Quick References   

Determining Which HPjmeter Features Are Available With a Specific JVM Version

Table A-2 HPjmeter Features Available by JVM Version

HPjmeter FeatureJVMCommand Line Option or Action
Java 1.4xJava 5.xJava 6.x
Start and stop eprof data collection with zero preparationX (5.0.04+)Xkill -USR2 pid
Specify JVM agentX-Xrunjmeter
Specify JVM agentXX-agentlib:jmeter*
Dynamic attach of the JVM agentX (6.0.03+)None
Collect hprof dataX-Xrunhprof
Collect hprof dataXX-agentlib:hprof
Access JMX ViewerXX-agentlib:jmeter*
Obtain detailed garbage collection metricsXXX-Xverbosegc, -Xloggc
View major versus minor garbage collection metricsX (5.0.12+)X (6.0.01+)-Xverbosegc, -Xloggc
View results of running print GC details and print heap at GC togetherX-XX:+PrintGCDetails and -XX:+PrintHeapAtGC
Start and stop verbose GC data collection with zero preparationX (5.0.14)X (6.0.02)kill -PROF pid or kill -21 pid
Obtain allocation site statistics and -Xverbosegc data togetherX (5.0.14)X (6.0.02)-Xverbosegc and -XX:+PrintAllocStatistics

 

* This HPjmeter switch is optional when running Java 6.0.03 or later.