Tagged articles

GC Logs

8 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
CodeOnCode
CodeOnCode
Sep 16, 2026 · Backend Development

G1 Young Gen Tuning: Why Fixing Size Backfires & How to Adapt

This article explains why fixing G1's young generation size with -Xmn or percentage flags often harms performance, and demonstrates how to tune young GC by analyzing pause targets, Eden sizing, TLAB/PLAB logs, and object promotion patterns to let G1's adaptive sizing balance throughput and latency.

G1 GCGC LogsJava performance
0 likes · 16 min read
G1 Young Gen Tuning: Why Fixing Size Backfires & How to Adapt
CodeOnCode
CodeOnCode
Sep 9, 2026 · Backend Development

Beyond Pause Times: Deep Dive into G1 GC Log Analysis for Java Performance Tuning

This article teaches how to analyze G1 GC logs beyond simple pause times by breaking down phase timings, heap changes, GC causes, and concurrent marking overhead, then mapping log signals like high Update RS or Object Copy to concrete code-level issues such as excessive reference writes, humongous allocations, or weak reference abuse.

G1 GCGC LogsGarbage Collection
0 likes · 27 min read
Beyond Pause Times: Deep Dive into G1 GC Log Analysis for Java Performance Tuning
Architect's Tech Stack
Architect's Tech Stack
Jul 24, 2019 · Backend Development

Understanding the G1 Garbage Collector in Java: Detailed Process and Log Analysis

This article explains the G1 (Garbage‑First) garbage collector introduced in JDK7, its region‑based architecture, key differences from CMS, and the complete GC cycle—including Young GC, concurrent phases, mixed GC, and Full GC—while providing real‑world log examples and performance insights for Java developers.

G1 GCGC LogsGarbage Collection
0 likes · 10 min read
Understanding the G1 Garbage Collector in Java: Detailed Process and Log Analysis