Generational ZGC: How Java 21 cuts pause times without sacrificing throughput

Your application just hit 10TB of heap. G1 starts pausing for seconds at a time. You switch to ZGC and pause times drop to microseconds…