CMS and G1 Collectors: Low-Latency Garbage Collection
Understand G1 for current HotSpot deployments and CMS as a historical collector removed in JDK 14, with version-labeled examples and GC logging.
Understand G1 for current HotSpot deployments and CMS as a historical collector removed in JDK 14, with version-labeled examples and GC logging.
A JVM-focused guide to mark-sweep, mark-compact, and copying algorithms, their heap trade-offs, and how real collectors schedule GC work.
Master JVM garbage collection log analysis with -Xlog:gc, GCEasy, and GCViewer. Practical guide to diagnosing memory issues and tuning performance.
Practical strategies for sizing JVM heap, tuning generation ratios, and optimizing GC thresholds to reduce pause times and improve throughput.
Learn how JVM heap layouts differ by collector and JDK, where Metaspace fits, and how to measure object headers with JOL on your runtime.
Understand how the JVM allocates memory with TLABs, how to track allocations with low overhead, and how heap walking tools analyze object graphs.
A practical guide to Serial and Parallel garbage collectors - how they work, when to use each, throughput trade-offs, and production tuning tips.
How ZGC and Shenandoah achieve sub-millisecond pause times through concurrent operations and load barriers, without stopping your application.
Learn how Git GC, pruning, fsck, and scheduled maintenance work, and how to inspect recovery paths before removing unreachable objects.