Fundamentals 4 min read

GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support

The new GraalVM for JDK 21 brings full virtual‑thread support, native‑image capabilities without preview flags, performance improvements, early Java Vector API optimizations, and a high‑performance runtime for Java and other languages, with download links and additional resources for developers.

Programmer DD
Programmer DD
Programmer DD
GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support

GraalVM for JDK 21 has been officially released.

This version adds many GraalVM and Java 21 features. GraalVM now fully supports virtual threads, including native image generation, without requiring preview activation.

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

GraalVM is a high‑performance JDK distribution designed to accelerate applications written in Java and other JVM languages, and it also provides runtimes for JavaScript, Python, LLVM‑based languages such as C and C++, among many others. It offers efficient interoperability between programming languages and can ahead‑of‑time compile Java applications into native executables, reducing startup time and memory usage.

Below are some performance results of GraalVM native image:

Overall, using Native Image maximizes performance across throughput, latency, memory usage, startup time, and binary size.

This release also includes early optimizations for the Java Vector API (JEP 338); JVM operations are now translated into efficient machine instructions by default, which can be disabled with -Dgraal.OptimizeVectorAPI=false.

For full details, see the announcement: https://medium.com/graalvm/graalvm-for-jdk-21-is-here-ee01177dd12d

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JavaperformanceVirtual Threadsgraalvmnative-imageJDK21
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.