Skip to content
Tagged articles

Mixed GC

3 articles · Page 1 of 1
Architecture Pony
Architecture Pony
Nov 19, 2026 · Backend Development

G1 GC Deep Dive: Region Heap, Pause Prediction, Mixed GC & Production Tuning

This article provides a comprehensive analysis of the G1 garbage collector, covering its region-based heap organization, pause prediction model, CSet selection for Young and Mixed GC, humongous object handling, failure modes leading to Full GC, production tuning parameters for JDK17, log analysis techniques, and key source code insights.

G1 GCGC Log AnalysisGarbage Collection
0 likes · 56 min read
G1 GC Deep Dive: Region Heap, Pause Prediction, Mixed GC & Production Tuning
CodeOnCode
CodeOnCode
Sep 28, 2026 · Backend Development

Don't Blame Redis: Mixed GC Pauses Extend Lock Hold Times in G1

This article explains how frequent G1 Mixed GC pauses, not Redis slowness, cause distributed lock waits by stalling lock-holding threads, and details a six-step troubleshooting process linking GC logs, business logs, and heap analysis to identify large objects, compensation tasks, and unbounded local caches as root causes.

Distributed LocksG1 GCHumongous Objects
0 likes · 19 min read
Don't Blame Redis: Mixed GC Pauses Extend Lock Hold Times in G1
CodeOnCode
CodeOnCode
Aug 6, 2026 · Backend Development

Why Mixed GC Doesn’t Empty the Old Generation in G1

Mixed GC in G1 only reclaims a portion of the Old generation that fits within the pause‑time budget, so seeing the Old region size stay high after a mixed pause does not mean G1 has failed, but rather reflects collection cost, survival rates, and budgeting constraints.

G1 GCGarbage CollectionJVM
0 likes · 16 min read
Why Mixed GC Doesn’t Empty the Old Generation in G1