Java Concurrent Mark & Sweep (CMS) algorithm is known for concurrently marking and sweeping the memory regions without a significant pause. However, the Concurrent Mark & Sweep algorithm took an unexpected turn when it was deprecated in Java 9 and... Continue Reading →
Java Concurrent Mark & Sweep (CMS) algorithm operates by dividing the garbage collection process into multiple phases, concurrently marking and sweeping the memory regions without a significant pause. While its design brings benefits in terms of reduced pause times, it... Continue Reading →
Popular Concurrent Mark Sweep (CMS) GC algorithm is deprecated in JDK 9. According to JEP-291, this decision has been made to reduce the maintenance burden of GC code base and accelerate new development. Thus from Java 9, if you launch... Continue Reading →
There are several blogs and articles on different GC algorithms, their inner details, their Pros, their Cons… This article tries to summarize Pros and Cons of each GC algorithm in one single slide.