Tagged articles
4 articles
Page 1 of 1
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 CollectionJVMYoung Generation
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.

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