JVM internals
How the JVM works underneath: memory, garbage collection, object layout, the JIT and what each Java release changes.
Series
- Series JVM Memory 3 of 3 parts published
The stack and its frames, what an object really costs, and how virtual threads change allocation.
- Series JVM Garbage Collection 5 of 5 parts published
From choosing a collector to reading its logs: how the JVM's garbage collectors work and how to run them well.
Featured
All posts
- JVM: The Silent Revolution
- Garbage Collection in Containers, and What Comes Next
- Reading GC Logs: Metrics, Safepoints and Tuning Profiles
- ZGC and Shenandoah: Low-Latency Garbage Collection
- Serial, Parallel and G1: The Throughput Collectors
- How to Choose a JVM Garbage Collector
- Virtual Threads and JVM Memory
- JVM Object Headers and Java 25 Compact Headers
- JVM Memory Fundamentals: The Stack, the Heap and Stack Frames