2

Oracle’s GraalVM backs Java 22

 4 weeks ago
source link: https://www.infoworld.com/article/3714602/oracle-graalvm-backs-java-22.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Oracle’s GraalVM backs Java 22

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

By Paul Krill

Editor at Large,

InfoWorld | Mar 26, 2024 4:09 pm PDT

shutterstock 1802760247 Holy Grail cup inside the Suscinio Castle, Brittany, France

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.

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.

0 seconds of 26 secondsVolume 0%
This ad will end in 26

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 is an editor at large at InfoWorld, whose coverage focuses on application development.

Copyright © 2024 IDG Communications, Inc.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK