JEP 544: Ahead-of-Time Code Compilation
JEP 544 introduces Ahead-of-Time (AOT) code compilation to the HotSpot Java Virtual Machine to improve application startup and warmup times. By caching native code from training runs, the system aims to provide peak performance without requiring code changes.
Why it matters
This technical improvement addresses performance bottlenecks in Java applications, which are foundational to many enterprise-scale software systems.
Improve startup and warmup time by making optimized native code for an application instantly available when the HotSpot Java Virtual Machine starts. Achieve this by compiling application code to native code in a training run, storing the native code in the AOT cache for use in subsequent production runs. If the workload changes in production, regenerate native code dynamically for continued peak performance, providing the best of both ahead-of-time (AOT) and just-in-time (JIT) compilation.
Enable applications to achieve peak performance more quickly.
Enable applications to sustain peak performance even as workloads change.
Do not require any change to the code of applications, libraries, or frameworks.
Do not require any change to the configuration of HotSpot, beyond requesting the use of the AOT cache.
Continue to support the Serial, Parallel, G1, and ZGC garbage collectors .
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in