Illustration of memory generations in a garbage collector.

Deep Dive into Generational Garbage Collection: Memory Management in Modern JVM and .NET Runtimes

An engineer‑focused walkthrough of generational GC in the JVM and .NET, covering core algorithms, production‑grade tuning, and common pitfalls.

May 22, 2026 · 7 min · 1403 words · martinuke0
Illustration of a tri‑color graph overlaying a heap memory diagram.

Implementing Concurrent Garbage Collection: A Deep Dive into Tri-Color Marking and Barrier Techniques

A practical guide to implementing concurrent garbage collection, covering tri‑color algorithms, barrier designs, and deployment tips for production systems.

May 20, 2026 · 6 min · 1180 words · martinuke0
Diagram of tri‑color marking stages overlaid on a memory heap.

Implementing Concurrent Garbage Collection: Deep Dive into Tri-Color Marking for Low-Latency Memory Management

A practical guide to building a concurrent garbage collector using tri‑color marking, covering core invariants, integration with JVM and Go runtimes, and real‑world performance tuning.

May 19, 2026 · 7 min · 1305 words · martinuke0
Illustration of memory generations with objects being promoted and collected.

Why Short-Lived Objects Die Young in Modern GCs

Modern GCs favor short-lived objects, reclaiming them within milliseconds. This post explains the underlying algorithms, runtime optimizations, and practical coding tips.

May 19, 2026 · 7 min · 1489 words · martinuke0
Illustration of two memory semispaces with objects being copied.

Why Cheney Semispace Copying Prevents Heap Fragmentation

Explore why Cheney’s semispace copying algorithm inherently prevents heap fragmentation, how it works under the hood, and what trade‑offs developers should consider.

May 17, 2026 · 7 min · 1422 words · martinuke0
Feedback