Tag

G1GC

1 views collected around this technical thread.

IT Services Circle
IT Services Circle
Jun 15, 2025 · Backend Development

How to Diagnose and Fix JVM GC Pauses in High‑Concurrency Microservices

This article walks through a real‑world production case, detailing how to systematically detect, analyze, and resolve severe JVM garbage‑collection pauses in a high‑concurrency Spring Boot microservice, covering resource analysis, JVM flag tuning, G1GC migration, JMX listeners, and GC‑log investigation.

G1GCGarbage CollectionJVM
0 likes · 16 min read
How to Diagnose and Fix JVM GC Pauses in High‑Concurrency Microservices
Cognitive Technology Team
Cognitive Technology Team
Feb 16, 2025 · Operations

Resolving High Memory Utilization after Upgrading to JDK 11 with G1GC: Causes, Analysis, and Tuning Guide

After upgrading to JDK 11 and switching to G1GC, the author observed memory usage exceeding 90% due to G1 Old GC not reclaiming space, and provides a detailed analysis of the issue, including heap inspection, GC mechanisms, and practical tuning solutions such as adjusting heap size and G1GC parameters.

G1GCGC TuningJDK11
0 likes · 33 min read
Resolving High Memory Utilization after Upgrading to JDK 11 with G1GC: Causes, Analysis, and Tuning Guide
HelloTech
HelloTech
May 10, 2024 · Backend Development

Root Cause Analysis and Optimization of G1GC Pauses Caused by StringTable Growth in Java Services

The investigation revealed that G1GC pauses were caused by uncontrolled growth of the JVM StringTable, triggered by Jackson’s InternCache interning countless random JSON field names, and was mitigated by enlarging the young generation, disabling field‑name interning, tuning G1 parameters, and monitoring StringTable size.

G1GCGC TuningJSON interning
0 likes · 37 min read
Root Cause Analysis and Optimization of G1GC Pauses Caused by StringTable Growth in Java Services
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 27, 2024 · Backend Development

Investigation and Resolution of High Container Memory Usage in a Java G1GC Application

This article details a step‑by‑step investigation of a container whose memory usage spiked to 99% due to large objects being allocated to the old generation under G1GC, explains the root cause, demonstrates reproducible tests with JVM flags and monitoring tools, and provides practical mitigation strategies.

BackendDockerFullGC
0 likes · 15 min read
Investigation and Resolution of High Container Memory Usage in a Java G1GC Application
Ops Development Stories
Ops Development Stories
Nov 16, 2023 · Fundamentals

Unlocking G1 GC: Why Your Java Service Hangs and How to Fix It

This article explains the G1 garbage collector’s heap layout, collection cycles, pause prediction, log analysis, and monitoring tools, helping Java developers diagnose and resolve performance issues such as frequent restarts, OOM, CPU spikes, and periodic latency spikes.

G1GCGarbage CollectionJVM
0 likes · 19 min read
Unlocking G1 GC: Why Your Java Service Hangs and How to Fix It
JD Retail Technology
JD Retail Technology
Jun 27, 2023 · Backend Development

Analysis and Optimization of G1GC Long Pauses Caused by MySQL Driver Phantom References

The article investigates intermittent long G1GC pauses in a Java 1.8 application caused by mis‑configured G1 parameters and MySQL driver phantom references that retain many idle connections, then presents detailed log analysis and multiple remediation steps including JVM flag tuning, connection‑pool adjustments, and driver upgrades.

BackendG1GCJVM
0 likes · 30 min read
Analysis and Optimization of G1GC Long Pauses Caused by MySQL Driver Phantom References
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Jun 6, 2023 · Operations

Root Cause Analysis and GC Parameter Optimization for Elasticsearch OOM Issues in the Membership Service

This article details a comprehensive investigation of an out‑of‑memory crash in a critical Elasticsearch cluster, explains how GC logs and heap dumps revealed a to‑space‑exhausted condition, and describes the G1GC tuning parameters that eliminated the nightly spikes and stabilized performance.

BackendElasticsearchG1GC
0 likes · 9 min read
Root Cause Analysis and GC Parameter Optimization for Elasticsearch OOM Issues in the Membership Service
DaTaobao Tech
DaTaobao Tech
Dec 30, 2022 · Backend Development

Practical Guide to Upgrading Java 8 to JDK 11 with G1 GC: Benefits, Steps, and New Features

The article provides a hands‑on migration guide for moving an internal gateway service from Java 8 to JDK 11 with the G1 garbage collector, detailing a checklist of tool and dependency updates, showcasing up to 105 % performance gains, outlining new language features, virtual‑thread usage, and best‑practice recommendations for a smooth, cost‑effective upgrade.

G1GCJDK11Java
0 likes · 32 min read
Practical Guide to Upgrading Java 8 to JDK 11 with G1 GC: Benefits, Steps, and New Features
DeWu Technology
DeWu Technology
Jul 13, 2022 · Backend Development

Diagnosing G1 Young GC Slowdown Caused by Excessive XStream ClassLoader Creation

The investigation revealed that repeatedly creating XStream objects generated thousands of CompositeClassLoader instances, inflating the JVM’s SystemDictionary and causing extremely long Ext Root Scanning during G1 Young GC pauses, which was resolved by caching XStream per class and reducing YGC pauses from seconds to milliseconds.

ClassLoaderG1GCJava
0 likes · 17 min read
Diagnosing G1 Young GC Slowdown Caused by Excessive XStream ClassLoader Creation
Yuewen Technology
Yuewen Technology
Apr 16, 2021 · Backend Development

Why G1 Is the Future Garbage Collector for High‑Throughput Java Services

This article examines how Oracle's G1 garbage collector, the default since JDK 9, outperforms the traditional CMS collector in multi‑core, large‑memory environments through parallelism, space integration, predictive pause models, and real‑world performance testing on Yuewen's licensing service.

BackendG1GCGarbage Collection
0 likes · 9 min read
Why G1 Is the Future Garbage Collector for High‑Throughput Java Services
Big Data Technology Architecture
Big Data Technology Architecture
Mar 9, 2021 · Databases

Evaluating ZGC vs G1 GC Performance in HBase Clusters

This article examines the challenges of GC pauses in low‑latency HBase services, explains ZGC’s fully concurrent architecture and key techniques such as colored pointers and read barriers, and presents experimental comparisons of ZGC and G1 GC using YCSB benchmarks, highlighting latency, throughput and CPU usage differences.

G1GCGarbage CollectionHBase
0 likes · 18 min read
Evaluating ZGC vs G1 GC Performance in HBase Clusters
58 Tech
58 Tech
Jun 18, 2019 · Fundamentals

Understanding G1 Garbage Collector: Design, Algorithms, and Tuning Practices

This article explains the design principles, region-based architecture, object allocation strategies, Young and Mixed G1 GC phases, concurrent marking, three‑color marking, and practical tuning parameters for the G1 garbage collector in Java, illustrating concepts with code snippets and diagrams.

G1GCGarbage CollectionJVM
0 likes · 17 min read
Understanding G1 Garbage Collector: Design, Algorithms, and Tuning Practices