4 ms·
I am more interested in this proposal https://openjdk.org/jeps/8313278 https://openjdk.org/jeps/8313278 It is "Ahead of Time Compilation for the Java Virtual
by monlockandkey 3y ago
I am more interested in this proposal
https://openjdk.org/jeps/8313278 https://openjdk.org/jeps/8313278
It is "Ahead of Time Compilation for the Java Virtual Machine". The proposal details of using AOT code at startup and then JIT taking over. So you get best of both worlds with fast application launch and then throughput once things are warmed up.
Graal is cool, but it will not be as throughput performant compared to JIT. Only for fast startup, serverless or low memory environments.
- kaba0 3y agoNot sure if you are aware of it, but Graal is also a JVMCI-comparible JIT compiler. Also, there was a proposal (not yet JEP though) on condensers and that model could also make great use of GraalVM.
- ezst 3y agoThe linked post shows the AoT compiler ahead of the JIT one, it seems like PGO really closes the gap :)