Understanding the JVM Heap: Architecture, Allocation Strategies, and Garbage Collection
Core Heap Architecture
The Java heap serves as the primary runtime data area for executing Java applications. Within a single JVM process, there is exactly one heap instance that is shared across all active threads. While individual threads operate within their own call stacks, they concurrently access and manipulate objects residing in this un ...
Posted on Thu, 08 Oct 2026 16:51:12 +0000 by romzer
Understanding JVM Garbage Collection: Memory Allocation and Object Lifecycle
Heap Memory Structure
In the generational model:
The Eden zone, s0 ("From"), and s1 ("To") zones comprise the Young Generation, while the Tenured zone represents the Old Generation. In most scenarios, new objects are initially allocated in the Eden region.
Following a Young Generation garbage collection, surviving objects m ...
Posted on Thu, 16 Jul 2026 17:21:54 +0000 by sridsam