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

(Doc ID 1284201.1)

Last updated on NOVEMBER 05, 2016

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.


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