My Oracle Support Banner

Understanding Garbage First Logs (Doc ID 1573946.1)

Last updated on NOVEMBER 10, 2023

Applies to:

Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.


To explain the garbage collection logs output by the Garbage First (G1) garbage collector.  This was taken from Poonam Bajaj's blog on 4 August 2013.  The blog post was written on 18 June 2012.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Option -XX:+PrintGCDetails
 Option -XX:G1PrintRegionLivenessInfo
 Option -XX:+G1PrintHeapRegions

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.