JEP 545 Moves ZGC Memory Preparation off the Startup Path in JDK 28

JEP 545, Faster Startup and Warmup with ZGC, has been integrated into JDK 28, moving heap memory preparation onto concurrent worker threads. ZGC now pre-touches memory as the heap expands and upgrades small pages to large ones on Linux 6.1 and later. The headline gains of 38% faster startup and 90% faster warmup depend on a 2 MB initial heap, which requires the adaptive heap sizing flag from JEP 546; that flag is off by default.

AI-written summary, checked against the cited sources. How summaries work

Image: InfoQ

Read at InfoQ