GraalVM

GraalVM
Developer(s)Oracle Corporation
Stable release
GraalVM for JDK 23 / 17 September 2024; 2 months ago (2024-09-17)
Repository
Written inJava
Operating systemLinux, Windows and macOS[1]
PlatformJava Virtual Machine
TypeJava dynamic compiler and runtime
LicenseCommunity Edition: GPLv2;[2][3] Oracle GraalVM: "GFTC".
Websitewww.graalvm.org

GraalVM is a Java Development Kit (JDK) written in Java. The open-source distribution of GraalVM is based on OpenJDK, and the enterprise distribution is based on Oracle JDK. As well as just-in-time (JIT) compilation, GraalVM can compile a Java application ahead of time. This allows for faster initialization, greater runtime performance, and decreased resource consumption, but the resulting executable can only run on the platform it was compiled for.

It provides additional programming languages and execution modes. The first production-ready release, GraalVM 19.0, was distributed in May 2019.[4] The most recent release is GraalVM for JDK 22, made available in March 2024.[5]

Major differentiators of GraalVM compared to the base JDK include:

  • Graal Compiler, a just-in-time (JIT) compiler.
  • GraalVM Native Image is a technology to compile Java applications ahead of time.
  • Truffle Language Implementation Framework and GraalVM SDK, a Java-based framework and a collection of APIs for developing high-performance language runtimes.
  • GraalVM Polyglot API, an API to embed guest language code in a Java-based host application.
  • JavaScript Runtime, an ECMAScript 2023-compliant JavaScript runtime, as well as Node.js.
  • LLVM Runtime is a runtime to execute languages that can be transformed into LLVM bitcode.
  1. ^ "Downloads".
  2. ^ "GraalVM FAQ". Archived from the original on 2020-04-13. Retrieved 2018-04-25.
  3. ^ "graal/README.md". GitHub. Retrieved 2018-04-25.
  4. ^ "For Building Programs That Run Faster Anywhere: Oracle GraalVM Enterprise Edition". Oracle Corporation. Retrieved 2022-01-21.
  5. ^ "GraalVM for JDK 22 Release Notes". GraalVM for JDK 22 Release Notes. Oracle Corporation. Retrieved 26 March 2024.