Java 6+: "Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future"

(Doc ID 1342986.1)

Last updated on FEBRUARY 21, 2018

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: 


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms