Paul Krill
Editor at Large

Oracle’s GraalVM backs Java 22

news
Mar 26, 20242 mins

GraalVM for JDK 22 makes most Java 22 features available for Graal just-in-time and Native Image ahead-of-time compilation.

shutterstock 1802760247 Holy Grail cup inside the Suscinio Castle, Brittany, France
Credit: Jerome PARIS / Shutterstock

Oracle has released GraalVM for JDK 22, an update to the Java runtime with ahead-of-time (AOT) compilation that brings support for Java 22 features.

Released on the same day as Java 22, which was published March 19, GraalVM for JDK 22 can be downloaded from the project website. Most features of JDK 22 are available for Graal JIT compilation and Native Image AOT compilation. Java 22 features supported in both Graal JIT and Native Image include string templates, the class-file API, unnamed variables and patterns, structured concurrency, and scoped values.

[ Related: Oracle CloudWorld 2024 coverage ]

GraalVM binaries are smaller, start faster, provide peak performance with no warmup, and use less memory and CPU than applications running on the JVM. GraalVM Native Image compiles Java applications ahead of time into standalone binaries. And in addition to supporting Java, GraalVM provides runtimes for languages such as Python, JavaScript, and Ruby.

With the new release of GraalVM, the Graal module has been renamed from jdk.internal.vm.compiler to jdk.graal.compiler. Also, compiler packages have been moved into the jdk.graal.compiler namespace. This renaming was done in preparation for Project Galahad and to establish the namespace jdk.graal for Graal subprojects, according to release notes.

The goal of Project Galahad is to contribute GraalVM-related technologies to the OpenJDK community and prepare them for possible incubation in a JDK mainline release.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author