My Oracle Support Banner

Java Garbage Collector (GC) tuning: Do not use CMS in incremental mode -XX:+CMSIncrementalMode/-Xincgc (Doc ID 1284201.1)

Last updated on MARCH 31, 2023

Applies to:

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

Symptoms

On multi-processor systems, configuring the Java virtual machine's garbage collector (GC) to use concurrent mark-sweep (CMS) 'incremental' mode will result in slower performance than CMS in regular mode.

Unfortunately, when searching for Java tuning pages on the Web, there are many documents that recommend the use of CMS in incremental mode by setting one of the command-line switches-XX:+CMSIncrementalMode or -Xincgc.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution

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