G1 garbage collector log analyzer
Solution 1
Try GCViewer.
The fork on GitHub includes support for newer Garbage Collectors (including G1).
Solution 2
Here is a relatively up-to-date list of all various tools that you can use for GC log analysis : Garbage Collector Log Analysers :
- (2013) JClarity's Censum Garbage Collection log analyser
- (2013) GcViewer
- (2012) IBM PMAT Pattern Modeling and Analysis Tool for Java Garbage Collector
- (2012) IBM GCMV The GC and Memory Visualizer
- (2012) verbosegcanalyzer
- (2011) HPjmeter JVM performance analyser (includes the functionality from HPjtune which was the GC log analyser tool)
- (2011) garbagecat
- (2010) gclogviewer
- (2010/2004) printgcstats (this may or may not be the PrintGCStats tool from 2004 which Sun created)
- (2009) GCAnalysis
- (2008) gchisto
- (2008) gcview
- (2008) the original GcViewer
- (2005) Garbage Collection Analysis (GCA)
- (2004) GCPortal
Solution 3
Look at the Memory Tab in Java Mission Control, it will graph heap usage, live set, GC pauses etc. for G1.
Solution 4
The latest Mission Control, available as part of Java 7u40, is compatible with all Hotspot GC algorithms and is able to analyze and view the GC activity.
Solution 5
R is a very powerful tool for the analysis of Java garbage collection log files. The primary difficulty is data cleansing so that information can be read into an R data frame. Once the data has been read into R, a rich set of tools may be used for thorough evaluation.
More details are available at my blog:
- "Using R to analyze Java G1 garbage collector log files"
- https://blogs.oracle.com/taylor22/entry/using_r_to_analyze_g1gc
Comments
-
Edge about 2 years
I am looking for GC log analyzer for Garbage First collector. Many people have mentioned "IBM Pattern Modeling and Analysis Tool for Java Garbage Collector (PMAT)" but it doesn't seem to be compatible with G1 with Oracle JDK7. Can any one share which tools you have used for analyzing gc logs graphically.