CMS Garbage Collector

GPTKB entity

Statements (36)
Predicate Object
gptkbp:instanceOf Garbage Collector
gptkbp:category Garbage Collection Algorithm
gptkbp:deprecatedIn gptkb:JDK_9
gptkbp:documentation https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/cms.html
gptkbp:feature Concurrent marking phase
Concurrent sweeping phase
Minimizes pause times
Works mostly concurrently with application threads
gptkbp:fullName Concurrent Mark Sweep Garbage Collector
https://www.w3.org/2000/01/rdf-schema#label CMS Garbage Collector
gptkbp:introducedIn J2SE 1.4.1
gptkbp:limitation Can fail with promotion failure
Fragmentation risk
Not compacting
Requires more CPU resources
gptkbp:notRecommendedFor Throughput-oriented applications
gptkbp:option -XX:+CMSClassUnloadingEnabled
-XX:+CMSConcurrentMTEnabled
-XX:+CMSIncrementalMode
-XX:+CMSParallelRemarkEnabled
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction
-XX:ParallelCMSThreads
gptkbp:removes gptkb:JDK_14
gptkbp:replacedBy gptkb:G1_Garbage_Collector
gptkbp:suitableFor Low-latency applications
gptkbp:supportsAlgorithm Mark-and-sweep
gptkbp:triggeredBy Allocation failure
Explicit System.gc()
gptkbp:type Low-latency Garbage Collector
Stop-the-world Garbage Collector
gptkbp:usedIn gptkb:Java_Virtual_Machine
gptkbp:bfsParent gptkb:G1_Garbage_Collector
gptkbp:bfsLayer 7