Top "Concurrent-mark-sweep" questions

Concurrent-mark-sweep is a garbage collection algorithm, known for its use on the Java Virtual Machine, which can reduce stop-the-world times on machines with limited resources.

UseConcMarkSweepGC vs UseParallelGC

I'm currently having problems with very long garbage collection times. please see the followig. My current setup is that I'm …

java performance garbage-collection g1gc concurrent-mark-sweep
-XX:+UseConcMarkSweepGC (what is default young generation collector?)

As far as I know we can run JVM with the next options: -XX:+UseConcMarkSweepGC -XX:-UseParNewGC in this case …

java garbage-collection concurrent-mark-sweep
CMS garbage collector - when does it run?

I am confused about two parameters that may control when the CMS collector kicks in: MaxHeapFreeRatio (70% by default) CMSInitiatingOccupancyFraction (over 90% …

java garbage-collection concurrent-mark-sweep
Is Concurrent Mark Sweep (CMS) a stop the world event?

I see many unloading of classes and my entire system will hang during that period of time.. [Unloading class sun.…

java garbage-collection jvm concurrent-mark-sweep
Java ConcurrentMarkSweep garbage collector not removing all garbage

Short form: The CMS garbage collector appears to be failing to collect an ever-increasing amount of garbage; eventually, our JVM …

java garbage-collection concurrent-mark-sweep
Avoiding promotion failed in Java CMS GC

I have a Java application using CMS garbage collection that suffers from a "ParNew (promotion failed)" full GC a few …

java performance garbage-collection concurrent-mark-sweep