Every JVM memory region from first principles: Eden, Survivors, Old Gen, Metaspace, thread stacks, the PC register, and off-heap Direct ByteBuffer. Object memory layout, mark words, and the taxonomy of memory leaks that kill production systems.
// Lessons
- 01soon
The JVM Memory Map — Every Region and Its Purpose
- 02soon
The Heap — Object Allocation and the Young/Old Divide
- 03soon
The Young Generation — Eden, S0, S1 and the Minor GC Cycle
- 04soon
The Old Generation — Tenuring, Promotion and Major GC
- 05soon
Metaspace — Class Metadata After PermGen (Java 8+)
- 06soon
The Thread Stack — Frames, Local Variables and the Operand Stack
- 07soon
Off-Heap Memory — Direct ByteBuffer and Native Allocations
- 08soon
Object Memory Layout — Mark Word, Class Pointer and Field Alignment
- 09soon
OutOfMemoryError vs StackOverflowError — What Actually Triggers Each
- 10soon
Memory Leak Taxonomy — Static Maps, ClassLoaders, ThreadLocals, Listeners