Tagged articles
Shenandoah
10 articles · Page 1 of 1
This guide explains Java garbage collector internals and selection criteria, covering Serial, Parallel, G1, ZGC, and Shenandoah, detailing their trade-offs between throughput, latency, and memory overhead, and provides scenario-based recommendations for microservices, low-latency systems, batch processing, and small containers, including upcoming Java 27 defaults.
G1JVMJava
0 likes · 15 min read

This article walks through the evolution of Java garbage collectors—from the early Serial collector to modern low‑latency ZGC and Shenandoah—explaining how throughput, pause time, and safepoints shape each collector’s design and what changes matter when upgrading from JDK 8 to JDK 17.
CMSG1JVM
0 likes · 21 min read

The article chronicles Java’s garbage‑collector evolution—from the deprecated CMS to G1’s pitfalls and the low‑latency ZGC and Shenandoah—explaining why CMS was removed, how G1 can degrade, and how ZGC/Shenandoah achieve sub‑millisecond pauses, plus new JDK 25/26 features and practical tuning steps.
G1JDK25Java
0 likes · 18 min read

JDK 25 introduces the generational Shenandoah garbage collector as a production‑ready feature, offering lower pause times, higher throughput, and better memory efficiency compared to G1 and ZGC, while remaining optional via the -XX:ShenandoahGCMode=generational flag and preserving compatibility with existing scripts.
Generational GCJDK 25Java
0 likes · 8 min read

This article explains the internal mechanisms of JVM garbage collection, covering oopMap, safepoints, saferegions, three‑color marking, memory sets, write barriers, and the design of low‑latency collectors such as Shenandoah and ZGC, and provides practical tuning advice.
JVMSafepointShenandoah
0 likes · 17 min read

Java 21, slated for release on September 19, 2023 as the next LTS version after Java 17, will drop the experimental Generational Shenandoah garbage‑collector feature during its Ramp‑down phase due to insufficient readiness, with the change slated for removal by the June 14 review deadline.
Generational GCJDK21Java
0 likes · 4 min read

This article compares the Shenandoah and ZGC garbage collectors introduced in OpenJDK, explaining their design goals, key differences from G1, core mechanisms such as connection matrices and forwarding or colored pointers, and detailing each collector’s concurrent phases to achieve pause times under 10 ms regardless of heap size.
JVMJavaLow Pause
0 likes · 16 min read

This article explains how Shenandoah OpenJDK's new concurrent thread‑stack processing, introduced in JDK 17, dramatically reduces garbage‑collection pause times to sub‑millisecond levels by using stack watermarks, and provides practical configuration guidance and benchmark results.
Concurrent GCJDK 17Java performance
0 likes · 12 min read

This article examines the evolution of Java garbage collectors, detailing the design and operation of G1, ZGC, and Shenandoah, and explains key concepts such as generational collection, write and read barriers, SATB, RSet, and multi‑view mapping with illustrative code and diagrams.
Concurrent AlgorithmsG1Java
0 likes · 27 min read

This article examines the evolution and classification of HotSpot JVM garbage collectors, explaining the performance triangle of heap usage, throughput and pause time, and detailing generational, region‑based, and low‑latency collectors such as G1, Shenandoah, and ZGC with their design principles and benchmark results.
G1JVMShenandoah
0 likes · 19 min read
