Illustration of memory arenas and thread caches interacting in a multi‑core system.

Deep Dive into jemalloc Arenas and Thread Caches: Architecture, Concurrency, and Memory Allocation Patterns

An in‑depth look at jemalloc’s arenas and thread caches, how they handle concurrency, and practical patterns for high‑performance services.

May 21, 2026 · 6 min · 1254 words · martinuke0
Illustration of memory pages being duplicated on write.

Deep Dive into Copy‑on‑Write Semantics: Memory Management and Performance in Modern Linux Kernels

A technical walkthrough of Linux’s copy‑on‑write mechanism, covering architecture, caching, and performance tuning for production workloads.

May 20, 2026 · 7 min · 1326 words · martinuke0
Illustration of memory arenas and thread caches in a multi‑core server.

Deep Dive into jemalloc Arenas and Thread Caches: Architecture, Scalability, and Memory Management Patterns

A technical walkthrough of jemalloc’s arena and thread‑cache subsystems, showing how they achieve low contention and high throughput in real‑world services.

May 19, 2026 · 8 min · 1573 words · martinuke0
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
Feedback