Leyden EA 2 Build is available
ioi.lam at oracle.com
ioi.lam at oracle.com
Thu Aug 28 21:48:41 UTC 2025
We are happy to announce the availability of the Leyden EA 2 Build:
https://jdk.java.net/leyden/
Since the Leyden project started, we have successfully delivered several
Ahead Of Time (AOT) optimizations in the mainline JDK:
JEP 483 - Ahead-of-Time Class Loading & Linking
JEP 514 - Ahead-of-Time Command-Line Ergonomics
JEP 515 - Ahead-of-Time Method Profiling
This EA allows users to try out new experimental AOT
optimizations that are not yet integrated into the JDK mainline:
AOT compilation of Java methods
AOT generation of Dynamic Proxies and reflection data
AOT optimization for class lookup
Early termination of AOT training run
Leyden is super easy to use and just works. To instantly try out Leyden
on your apps, you can first perform a training run with a single flag
$ java -XX:AOTCacheOutput=app.aot -cp app.jar App
Rerunning your app a second time with the -XX:AOTCache flag will show
benefits
from the AOT cache:
$ java -XX:AOTCache=app.aot -cp app.jar App
Details of the Leyden EA 2 Build, as well as HOWTO instructions can be
found at the release notes:
https://github.com/openjdk/leyden/blob/leyden-ea2-release-notes/README.md
Please give it a try. We would love to hear your experiences, positive
or negative, so that we know how to improve the optimizations before
they are integrated into future Java releases. Please join the Leyden
mailing
list at https://mail.openjdk.org/mailman/listinfo/leyden-dev and send your
feedback via e-mail to leyden-dev at openjdk.org.
This work would not have been possible without the participation of the
Java community. We would like to thank everyone who has contributed to
the Leyden project, especially our partners at Amazon, Google, Microsoft,
Red Hat and Spring for their ideas, time and energy to make this
project a success.
Leyden Project Team @ Oracle
More information about the leyden-dev
mailing list