Comment by pjmlp
1 day ago
For 20+ years already, most commercial JDKs have had AOT support, long before GraalVM and Open J9 became open source.
1 day ago
For 20+ years already, most commercial JDKs have had AOT support, long before GraalVM and Open J9 became open source.
But does AOT really help performance wise? It helps with start time, but it probably performs worse after that because of lack of CPU specific optimizations (excluding JIT time).
Yes, just like with C and C++, PGO is the answer, aka training runs.
Also performance for what?
As long production SLA are met, that's a deployment success.
Why are SLAs the bar for performance? Every additional second of execution time accumulates in the annual cloud bill, and using too much memory means I need a bigger box.
For example, the C++ replacement for a Java program bottlenecking my CI takes 1/3rd as long (with less variance) and runs on a smaller instance.
1 reply →
[dead]