Tag

Old Generation

0 views collected around this technical thread.

Lobster Programming
Lobster Programming
Jun 16, 2025 · Backend Development

When Do Java Objects Move to the Old Generation? Key GC Triggers Explained

This article explains the main conditions that cause Java objects to be promoted from the young generation to the old generation, covering age thresholds, space guarantees, dynamic age determination, and large‑object allocation rules in HotSpot JVM.

Garbage CollectionJVMJava
0 likes · 4 min read
When Do Java Objects Move to the Old Generation? Key GC Triggers Explained
Wukong Talks Architecture
Wukong Talks Architecture
Feb 11, 2021 · Fundamentals

Understanding Java Heap Memory, GC, and OOM Through the Spring Festival Analogy

This article uses the Chinese Spring Festival story to explain Java's heap structure, young and old generations, large‑object allocation, and how excessive memory consumption leads to heap‑space OOM and stop‑the‑world garbage collection, providing code examples and practical mitigation tips.

Garbage CollectionJVMJava
0 likes · 7 min read
Understanding Java Heap Memory, GC, and OOM Through the Spring Festival Analogy