My Oracle Support Banner

Java 6+: "Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future" (Doc ID 1342986.1)

Last updated on NOVEMBER 14, 2020

Applies to:

Java Platform, Standard Edition - Version 6 and later
Information in this document applies to any platform.


This document explains why the Java property CMSPermGenSweepingEnabled, which can be used in Java SE 5.0 to configure dynamic class unloading, no longer works with Java SE 6, and the following message appears in the startup/runtime logs when using the option with Java 6, 7 or 8: 


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

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