Yanxuan Tech Team
Yanxuan Tech Team
May 12, 2020 · Backend Development

Why G1GC Slowed Down During Load Test and How ParallelRefProc Fixed It

During a full‑chain load test, latency spikes were traced to a slow G1GC pause caused by single‑threaded reference processing of many Finalizer objects, which originated from an over‑aggressive Jedis connection pool; enabling the JVM flag -XX:+ParallelRefProcEnabled eliminated the bottleneck and restored performance.

GC performanceJedisParallelRefProc
0 likes · 8 min read
Why G1GC Slowed Down During Load Test and How ParallelRefProc Fixed It