JEP 483: Ahead-of-Time Class Loading and Linking

Improve startup time by preloading and linking the classes of an application using the HotSpot Java Virtual Machine. This involves monitoring the application during one run and storing the loaded and linked forms of all classes in a cache for subsequent runs. No changes are needed to the code or how applications are started. The Java Platform’s dynamic nature poses a challenge during startup, but the AOT cache enhances performance. Additional work to create the AOT cache may be cumbersome, but improvements are underway. Unique advancements such as mimicking production runs and capturing optimization statistics during training runs offer potential for further enhancements.

https://openjdk.org/jeps/483

To top