Tagged articles

young generation

6 articles · Page 1 of 1
liandk
liandk
Sep 18, 2026 · Backend Development

Hidden GC Pauses Causing Random API Timeouts: JVM STW Troubleshooting Guide

This article reveals how long GC stop-the-world pauses cause random API timeouts without errors, detailing two fault scenarios, a four-step GC log analysis SOP with specific JVM flags, four root causes including young generation sizing and memory fragmentation, and optimization strategies from emergency restarts to G1/ZGC upgrades with monitoring alerts.

Full GCG1GC
0 likes · 15 min read
Hidden GC Pauses Causing Random API Timeouts: JVM STW Troubleshooting Guide
Dabaoshi
Dabaoshi
Jul 31, 2026 · Fundamentals

Understanding JVM GC Algorithms and the Generational Model

This article explains the three fundamental garbage‑collection algorithms (Mark‑Sweep, Copying, Mark‑Compact), the three generational hypotheses, the structure and rules of the young generation, the distinctions among Minor, Major and Full GCs, and how remembered sets and card tables efficiently handle cross‑generation references in the JVM.

Card TableGC algorithmsGarbage Collection
0 likes · 19 min read
Understanding JVM GC Algorithms and the Generational Model
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 CollectionJVMJava
0 likes · 15 min read
Resolving Unexpected 2‑Second Young GC Pauses in Java Rule Engine
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.

JavaSurvivor Spacegarbage-collection
0 likes · 10 min read
Understanding the Young Generation and Survivor Spaces in Java HotSpot JVM Garbage Collection