Tag

Young Generation

1 views collected around this technical thread.

JD Cloud Developers
JD Cloud Developers
Dec 13, 2023 · Backend Development

Resolving Unexpected 2‑Second Young GC Pauses in Java Rule Engine

A Java rule‑engine experiences occasional 1‑2 second Young GC pauses after warm‑up, caused by dynamic promotion thresholds that trigger massive object promotion, and the article explains the root cause, demonstrates log analysis, and provides JVM tuning steps to eliminate the long pauses.

Garbage CollectionJVMPerformance Tuning
0 likes · 15 min read
Resolving Unexpected 2‑Second Young GC Pauses in Java Rule Engine
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 CollectionHeap MemoryJVM
0 likes · 7 min read
Understanding Java Heap Memory, GC, and OOM Through the Spring Festival Analogy
Selected Java Interview Questions
Selected Java Interview Questions
Jun 23, 2020 · Backend Development

Why the JVM Young Generation Includes Two Survivor Spaces

The article explains the purpose of Survivor spaces in the JVM young generation, how they reduce premature promotion to the old generation, prevent fragmentation, and improve garbage‑collection efficiency by using two alternating survivor areas.

Garbage CollectionJVMJava Memory
0 likes · 5 min read
Why the JVM Young Generation Includes Two Survivor Spaces
Java Architect Essentials
Java Architect Essentials
Mar 7, 2018 · Backend Development

Understanding the Young Generation and Survivor Spaces in Java HotSpot JVM Garbage Collection

The article explains why the JVM uses a generational heap, describes the structure and operation of the young generation—including Eden and two Survivor spaces—illustrates object lifecycles, the role of Survivor spaces in preventing fragmentation, and outlines related JVM tuning parameters.

Garbage CollectionJVMPerformance
0 likes · 10 min read
Understanding the Young Generation and Survivor Spaces in Java HotSpot JVM Garbage Collection