r/java • u/cred1652 • Sep 21 '26
JEP 544: Ahead-of-Time Code Compilation targets JDK 28
https://openjdk.org/jeps/544JEP 544: Ahead-of-Time Code Compilation targets JDK 28
78
Upvotes
r/java • u/cred1652 • Sep 21 '26
View all comments
Show parent comment
16
u/JacobJMountain Sep 21 '26
More similar to the CDS / AOT caches that already exist. you’ll build a cache in a training run (like you already could do) except now you’ll be able to store native code for that specific architecture in there too. This should mean your code will start faster, and then if/when the JIT compiler decides it wants to swap out the native code for some reason it can do so