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 NOVEMBER 06, 2018

Applies to:

Java Platform, Standard Edition - Version: 1.4 to 6.0 - Release: 1.4 to 6.0
Information in this document applies to any platform.


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.


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.