GCViewer is a free open source tool to visualize data produced by the Java VM options
-verbose:gc and-Xloggc:. It also calculates garbage collection related performance metrics (throughput, accumulated pauses, longest pause, etc.). This can be very useful when tuning the garbage collection of a particular application by changing generation sizes or setting the initial heap size. See here for a useful summary of garbage collection related JVM parameters. For more information on tuning garbage collection on Sun JVMs, take a look at the documentation provided by Sun.Supported Formats
- Sun JDK 1.4/1.5 with the options
-Xloggc:[-XX:+PrintGCDetails] - Sun JDK 1.2.2/1.3.1/1.4 with the option
-verbose:gc - IBM JDK 1.3.1/1.3.0/1.2.2 with the option
-verbose:gc - IBM iSeries Classic JVM 1.4.2 with
option -verbose:gc - HP-UX JDK 1.2/1.3/1.4.x with the option
-Xverbosegc - BEA JRockit 1.4.2/1.5 with the option
-verbose:memory
Best results are achieved with:
-Xloggc: -XX:+PrintGCDetails
沒有留言:
張貼留言