GraalVM Updated For Java/JDK 21, Great Performance Results

Written by Michael Larabel in Oracle on 20 September 2023 at 06:34 AM EDT. 14 Comments
ORACLE
In addition to Oracle releasing OpenJDK 21 / Java 21 on Tuesday, their GraalVM team also carried out a same-day release of GraalVM with the new Java 21 features and more.

GraalVM continues to evolve as a Java JVM/JDK based on the HotSpot virtual machine and supporting additional languages and execution models -- including ahead-of-time (AOT) compilation and other interesting extras. One of the main selling points for GraalVM boils down to:
"GraalVM is a high-performance JDK distribution that compiles your Java applications ahead of time into standalone binaries. These binaries start instantly, provide peak performance with no warmup, and use fewer resources. You can use GraalVM just like any other Java Development Kit in your IDE."

Released on GitHub is the updated community build of GraalVM built for JDK 21 with Linux / macOS / Windows binaries and both for x86_64 and AArch64 architectures.

GraalVM logo


More details on the new GraalVM changes can be found via their Medium.com blog. The GraalVM for JDK 21 release has continued improvements around AOT compilation, the G1 garbage collector now works on Linux AArch64, new optimization levels policy, a "-O3" optimization level is now honored for maximum optimizations with GraalVM, the --parallelism= option can be used for controlling how many threads are used by the build process, new experimental build options for Native Image handling, Control Flow Integrity (CFI) support for Native Image, and many other updates.
Related News
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.

Popular News This Week