Tagged articles

Minor GC

3 articles · Page 1 of 1
Java Tech Workshop
Java Tech Workshop
Oct 2, 2026 · Fundamentals

Frequent Minor GC? The Real Culprits Are Allocation Rate and Premature Promotion

This article explains why frequent Minor GC in Java applications stems from high object allocation rates or premature promotion to old generation, not heap size, and details generational collection mechanics, promotion thresholds, dynamic age judgment, and troubleshooting using jstat, GC logs, and AsyncProfiler to pinpoint allocation hotspots.

Allocation RateAsyncProfilerGC Logs
0 likes · 18 min read
Frequent Minor GC? The Real Culprits Are Allocation Rate and Premature Promotion
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.

AlertingFull GCG1
0 likes · 15 min read
Hidden GC Pauses Causing Random API Timeouts: JVM STW Troubleshooting Guide