OpenJDK 8/11 vs. GraalVM 20 vs. Amazon Corretto JVM Benchmarks

Written by Michael Larabel in Software on 25 March 2020 at 02:00 PM EDT. Page 5 of 5. 32 Comments.
Java Performance OpenJDK 14 vs. GraalVM 20 vs. Amazon Corretto
Java Performance OpenJDK 14 vs. GraalVM 20 vs. Amazon Corretto

When it came to the SPECjbb 2015 benchmark, GraalVM 20.0 Java 8 and Amazon Corretto 8.242.08 were the front-runners followed quite closely by the upstream OpenJDK 8. The builds targeting newer versions of Java were much slower.

Java Performance OpenJDK 14 vs. GraalVM 20 vs. Amazon Corretto

When taking the geometric mean of the 32 tests that were carried out, OpenJDK 8 upstream actually came out the best overall followed quite closely by GraalVM 20.0 Java 8. Meanwhile the Java 11 version of GraalVM 20.0 was by far the slowest. On the Amazon Corretto front, version 11 was quite similar to OpenJDK 11 upstream but its Java 8 implementation was coming out similar to that slower Java 11 milestone.

Java Performance OpenJDK 14 vs. GraalVM 20 vs. Amazon Corretto

When counting simply the number of first place finishes, GraalVM 20.0 Java 8 had the most wins at 40%. The most performant JVM implementation really depends upon the workload(s) most important to your use-case.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.