views:

765

answers:

3

A lot of JVM's command line arguments dealing with the garbage collector have "CMS" prepended to them. What does this stand for?

+8  A: 

Concurrent Mark Sweep

(Or as Tom mentions in the comments, mostly Concurrent Mark Sweep.)

Jon Skeet
Or "(mostly) Concurrent Mark Sweep".
Tom Hawtin - tackline
+6  A: 

It's a method or algorithm for garbage collection that, in theory, affects the performance of the application less than the older methods.

The concurrent mark sweep collector, also known as the concurrent collector or CMS, is targeted at applications that are sensitive to garbage collection pauses. It performs most garbage collection activity concurrently, i.e., while the application threads are running, to keep garbage collection-induced pauses short

G1 is the next level being considered/developed.

Adam Davis
+1  A: 

Refer https://java.sun.com/j2se/reference/whitepapers/memorymanagement_whitepaper.pdf for more details....

Dipak Bhimani