Hacker News new | ask | show | jobs
by monlockandkey 999 days ago
I am more interested in this proposal

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.

2 comments

Not 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.

The linked post shows the AoT compiler ahead of the JIT one, it seems like PGO really closes the gap :)