Checkout
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial
Question

Java Cms - What is CMS in JVM?

Answer

The Concurrent Mark Sweep garbage collection process, which is ongoing in the JVM, is referred to as CMS. As of Java 9, it is no longer recommended. As it runs, CMS uses several threads to label and gather data. As the application runs, it labels items simultaneously and then sweeps away the unused ones at the end.