GraalVM for JDK 21

GraalVM for JDK 21 has been officially released.

This release adds many new GraalVM features as well as Java 21 features. For example, GraalVM now fully supports virtual threads, including Native Images - they no longer need to be enabled as a preview feature.

Download address: https://www.graalvm.org/downloads/

GraalVM is a high-performance JDK distribution. It is designed to accelerate the execution of applications written in Java and other JVM languages, and also provides runtimes for JavaScript, Python, LLVM-based languages ​​such as C and C++, and many other popular programming languages.

In addition, GraalVM provides efficient interoperability between programming languages ​​and compiles Java applications into native executables ahead of time, resulting in faster startup times and lower memory overhead.

The following is part of the performance of GraalVM native image (Native Image):

In summary, using Native Image maximizes all aspects of performance, including peak throughput, latency, memory usage, startup, and packet size.

Additionally, this release implements initial optimizations for Java Vector API (JEP 338) operations. Multiple operations on the JVM are now translated into efficient machine instructions whenever possible. This optimization is enabled by default (you can use -Dgraal.OptimizeVectorAPI=falseto disable it).

See the release announcement for details .

Guess you like

Origin www.oschina.net/news/258762/graalvm-for-jdk-21