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.
