r/java • u/woj-tek • Sep 30 '26
OpenJDK vs. GraalVM vs. Eclipse Temurin vs. Semeru Java Performance
https://www.phoronix.com/review/openjdk-graalvm-temurin-semeru/
65
Upvotes
r/java • u/woj-tek • Sep 30 '26
View all comments
Show parent comment
2
u/keenOnReturns Oct 02 '26
I’m only acting patronizing because you’re operating under dunning kruger: why are you so confident in your assertions why it seems like you have no clue about JVM internals?
No, JIT compilation is simply a technique or architecture that many high-level languages employ e.g. Python, Javascript. They are not identical. You seem familiar with cpu instruction sets or ISAs? Same thing: manufacturers follow the same reference spec (x86 or arm), but intel, amd, Apple etc. have drastically different implementations of the same spec or idea.
Java’s primary JIT or JVM implementation is Hotspot. Arguably, it’s the highest performing JIT implementation in the mainstream. I’m not sure what you mean by “different names” or “marketing”. Simply put, all JIT means is the program is compiling during runtime (not correct, but imagine Java is running ‘gcc’ before everytime you trigger a run of your program - and it continues to run ‘gcc’ as your program is running). Really, the JVM is a compiler itself: that’s why I said its build method shouldn’t matter, because Java is literally (re-)compiling per your exact hardware specs everytime you run a Java program. Just like you wouldn’t care the build flags they used to compile the gcc, you also normally wouldn’t care how Java is built.
This contrasts to static compilation or AOT compilation which you seem more familiar with. That’s what C(++), Rust, Go use. Yes, the build flags you use for your program matters a lot with those languages.