My Oracle Support Banner

How to Rotate GC Log Files? (Doc ID 2876880.1)

Last updated on JUNE 28, 2022

Applies to:

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

Goal

In JDK 8, despite that the JVM was started with UseGCLogFileRotation, the GC log file isn't rotated:

How to rotate the GC log files?

Solution

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
Goal
Solution


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