Tag

YGC

1 views collected around this technical thread.

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
Qunar Tech Salon
Qunar Tech Salon
Nov 21, 2016 · Fundamentals

Why YGC Slows Down: The Impact of String.intern and StringTable on Young Generation GC

This article explains how excessive use of String.intern can enlarge the JVM's StringTable, causing the Young Generation Garbage Collection (YGC) to take longer, and provides a demo, code analysis, and practical tips for diagnosing and mitigating the slowdown.

Garbage CollectionJVMJava
0 likes · 9 min read
Why YGC Slows Down: The Impact of String.intern and StringTable on Young Generation GC