Tag

Object Lifecycle

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 23, 2024 · Fundamentals

Understanding JVM Memory Structure and Object Lifecycle

This article explains the JVM memory architecture—including heap, stack, native stack, method area, and program counter—detailing heap generations, object allocation strategies, object layout, reference types, and the complete lifecycle of Java objects from creation to garbage collection.

Garbage CollectionJVMMemory Management
0 likes · 11 min read
Understanding JVM Memory Structure and Object Lifecycle
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 7, 2021 · Fundamentals

The Life Cycle of Java Objects: From Allocation to Old Generation

This article uses a real‑world recommendation system case to explain how Java objects are created in the young generation, survive multiple young GCs, and are promoted to the old generation under various conditions such as repeated GC cycles, dynamic age thresholds, and space‑guarantee mechanisms.

Garbage CollectionJVMMemory Management
0 likes · 7 min read
The Life Cycle of Java Objects: From Allocation to Old Generation