GC Log Analyzer
Analyze JVM GC logs online — pause statistics (avg/p95/max), throughput, per-collector breakdown and a pause-time chart for JDK 8 and unified logging.
Paste a JVM garbage-collection log — pause statistics, throughput, per-collector breakdown and a pause-time chart. JDK 8 and unified (JDK 11+) formats, parsed locally.
About GC Log Analyzer
GC tuning starts from the log: how often, how long, and which collector. Paste a -Xlog:gc* (JDK 11+) or -XX:+PrintGCDetails (JDK 8) log and get pause count, average, p95 and max, total GC time, application throughput, a per-pause-type breakdown, and a color-coded pause chart separating minor and full collections.
Everything parses locally — GC logs reveal heap sizes and allocation patterns, and uploading them to hosted analyzers is unnecessary. Post-GC heap growth is flagged as a possible leak signal.
How to use GC Log Analyzer
- Enable GC logging: -Xlog:gc*:file=gc.log (JDK 11+) or -XX:+PrintGCDetails -Xloggc:gc.log (JDK 8).
- Paste the log content and click Analyze.
- Read the headline stats — throughput below ~95% or p95 pauses over ~200 ms usually need attention.
- Check the Full GC rows in the breakdown and the chart for pause clusters.
Frequently asked questions
What is a healthy throughput?
Above 99% is great, 95–99% is usually acceptable. Below ~90% means GC is eating real CPU time — tune heap, collector or allocation rate.
Which log format is best?
Unified logging (-Xlog:gc*) carries pause cause and phase detail; the analyzer reads both it and the classic JDK 8 PrintGCDetails lines.
Does it detect memory leaks?
Indirectly — it reports post-GC heap growth across the log. A floor that only rises after full collections is the classic leak signature; confirm with a heap dump.