Dissecting the CPU-Memory Relationship in Garbage Collection
Summary
The article highlights that GC pause times no longer reliably reflect CPU overhead, and introduces new telemetry in OpenJDK 26 to quantify explicit GC costs. It outlines explicit, implicit, and microarchitectural GC costs, demonstrates measurement patterns, and uses xalan/Spring benchmarks to illustrate how heap size and GC strategies impact CPU usage and throughput.