Concurrent mark sweep collector


The Concurrent mark sweep collector is a mark-sweep garbage collector in the Oracle HotSpot Java virtual machine available since version 1.4.1.

HotSpot garbage collectors

The HotSpot JVM selects the default garbage collector based on several factors. The newer Garbage-first collector is planned to replace CMS.
To launch the JVM with this garbage collector you can add this property to the java command line -XX:+UseConcMarkSweepGC