Diagram of jemalloc's arena and thread cache hierarchy.

How jemalloc Segregates Memory Between Arenas and Thread Caches

A deep dive into jemalloc’s arena and thread‑cache design, showing how they work together to deliver low‑latency memory allocation.

May 19, 2026 · 7 min · 1468 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 processes sharing memory pages with copy‑on‑write.

How Copy-on-Write Pages Prevent Fork from Exhausting Memory

A deep dive into the mechanics of copy‑on‑write pages and why they keep forked processes from blowing up system memory.

May 18, 2026 · 7 min · 1355 words · martinuke0
Illustration of overlapping threads and memory epochs.

The Thread Safety Tradeoffs of Epoch Based Reclamation

A deep dive into epoch based reclamation, its thread‑safety model, performance trade‑offs, and how it stacks up against alternative reclamation schemes.

May 17, 2026 · 9 min · 1832 words · martinuke0
Diagram of a multi‑level skip list showing nodes and pointers.

The Hidden Memory Costs of Layered Skip Lists

A deep dive into the often‑overlooked memory footprint of layered skip lists, revealing hidden costs and offering strategies to keep them efficient.

May 17, 2026 · 8 min · 1528 words · martinuke0
Feedback