Skip to content

JDK 17 and GraalVM benchmarking #4080

Answered by alina-yur
ahmedeldeeb25-zz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ahmedeldeeb25,

Thank you for asking this, I haven't run this example in a while. Just to clarify something here - in JIT mode, which we are talking about here, the GraalVM compiler actually runs in the context of a JVM. So, I ran this app again with GraalVM Community 21.3 on my machine (which is not a proper benchmarking environment, but can give some basic understanding), and here are my results:
With the GraalVM compiler:

java -version
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment GraalVM CE 21.3.0 (build 17.0.1+12-jvmci-21.3-b05)
OpenJDK 64-Bit Server VM GraalVM CE 21.3.0 (build 17.0.1+12-jvmci-21.3-b05, mixed mode, sharing)
java -jar target/benchmarks.jar 
...
Be…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ahmedeldeeb25-zz
Comment options

Answer selected by ahmedeldeeb25-zz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants