International
The Morning Dev

Only the news worth knowing

‹
 

Release

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

InfoQ · By A N M Bazlur Rahman ·

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

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

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…

How do you feel about this?

0 Comments