Project Leyden Ships Third Option for Faster Application Start with JEP 483 in Java 24
Briefly

JEP 483, part of Project Leyden in Java 24, enhances application startup speed by introducing AOT class loading and linking, increasing speeds by as much as 40% without modifying code or enforcing new application constraints. It builds an AOT cache file during a training run, which optimizes the loading of frequently used Java classes. Frameworks like Spring Boot stand to gain significantly; however, users must ensure the same environment used during the training run. This approach contrasts with solutions like GraalVM, which provides faster startup but with more limitations, showcasing the ongoing evolution of Java performance enhancements.
JEP 483 enables Java applications to start up to 40% faster without disturbing existing code or adding new constraints, heralding a noteworthy enhancement in performance.
Through Project Leyden, Java leverages ahead-of-time (AOT) class loading and linking to reduce startup times significantly, especially beneficial for frameworks laden with numerous classes.
Read at InfoQ
[
|
]