GraalVM
GraalVM is a Java Development Kit (JDK) written in Java.[src] The open-source distribution of GraalVM is based on OpenJDK, and the enterprise distribution is based on Oracle JDK.[src] Along with just-in-time (JIT) compilation, GraalVM can also compile a Java application ahead-of-time (AOT).[src] 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.[src] It provides additional programming languages and execution modes.[src] The first production-ready release, GraalVM 19.0, was distributed in May 2019.[src] The most recent major release is GraalVM 25.4, made available in September 2026.[src] Major differentiators of GraalVM compared to the base JDK include: * Graal Compiler, a JIT compiler.[src] * GraalVM Native Image, a technology for AOT compilation of Java applications.[src] * Truffle Language Implementation Framework and GraalVM SDK, a Java-based framework and a collection of APIs for developing high-performance language runtimes.[src] * GraalVM Polyglot API, an API to embed guest language code in a Java-based host application.[src] * JavaScript Runtime, an ECMAScript 2023-compliant JavaScript runtime, as well as Node.js.[src] * LLVM Runtime is a runtime to execute languages that can be transformed into LLVM bitcode.[src]
GraalVM is a Java Development Kit (JDK) written in Java.[src] The open-source distribution of GraalVM is based on OpenJDK, and the enterprise distribution is based on Oracle JDK.[src] Along with just-in-time (JIT) compilation, GraalVM can also compile a Java application ahead-of-time (AOT).[src] 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.[src] It provides additional programming languages and execution modes.[src] The first production-ready release, GraalVM 19.0, was distributed in May 2019.[src] The most recent major release is GraalVM 25.4, made available in September 2026.[src] Major differentiators of GraalVM compared to the base JDK include: Graal Compiler, a JIT compiler.[src] GraalVM Native Image, a technology for AOT compilation of Java applications.[src] Truffle Language Implementation Framework and GraalVM SDK, a Java-based framework and a collection of APIs for developing high-performance language runtimes.[src] GraalVM Polyglot API, an API to embed guest language code in a Java-based host application.[src] JavaScript Runtime, an ECMAScript 2023-compliant JavaScript runtime, as well as Node.js.[src] LLVM Runtime is a runtime to execute languages that can be transformed into LLVM bitcode.[src] Another advantage of GraalVM is the possibility to embed code from a guest language in Java and write "polyglot" applications.[src] A developer can integrate JavaScript, Python, or other supported languages inside Java source code, granting them the characteristic advantages of those languages.[src] A host Java application and a guest language pass data back and forth in the same memory space.[src] It is possible thanks to the Truffle Language Implementation Framework and the GraalVM Polyglot API.[src] Below is the example how to call a function defined in Python from Java: try (Context context = Context.create()) { Value function = context.eval("python", "lambda x: x + 1"); assert function.canExecute(); int x = function.execute(41).asInt(); assert x == 42; } The Python function increments its input value by one and returns the result to the host language.[src] From Java, for security purposes, we ask first if the variable function can be executed via the canExecute() call, and then we invoke the function with the execute() call.[src] Find more examples in the Embedding Languages reference documentation.[src]
33 sentences · 33 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"GraalVM." encyclopegia.org, 2026, https://encyclopegia.org/wiki/graalvm. Accessed 28 November 2026.
Chicago
"GraalVM." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/graalvm.
APA
encyclopegia.org. (2026). GraalVM. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/graalvm
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON