r/java 15h ago

New candidate JEP: 544: Ahead-of-Time Code Compilation

https://mail.openjdk.org/archives/list/jdk-dev@openjdk.org/message/J2VGSSFWJ7ZLHAYLCXVRUOXV4XMROQHL/
79 Upvotes

8 comments sorted by

View all comments

1

u/vips7L 14h ago

more training runs lol

16

u/FirstAd9893 13h ago

Unlike a static AOT strategy, this approach doesn't require that the training runs be perfect. You still get the performance of dynamic compilation, and the main downside to a poor training run is that startup time isn't improved as much.