Release
JEP 545 Moves ZGC Memory Preparation off the Startup Path in JDK 28
InfoQ · By A N M Bazlur Rahman ·
The Brief
- JEP 545, Faster Startup and Warmup with ZGC, has been integrated into JDK 28.
- The change moves heap memory preparation onto concurrent worker threads, off the startup path.
- ZGC now pre-touches memory as the heap expands and upgrades small pages to large pages on Linux 6.1 and later.
Why it matters
Teams running ZGC on JDK 28 may see faster application startup and warmup, and Linux 6.1+ hosts get the large-page upgrade behaviour.
Who’s affected
- Java teams running ZGC on JDK 28
- Linux users on kernel 6.1 or later running ZGC
- JDK 28
- Linux 6.1
- #java
- #jvm
- #zgc
- #performance
- #jdk
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 it expands and upgrades small pages to large ones on Linux 6.1 and later, but the 2 MB initial heap behind…