0Pricing
Java Academy · Lesson

What Is GraalVM

A high-performance polyglot VM.

What Is GraalVM

GraalVM is a high-performance JDK distribution built on a modern just-in-time compiler called Graal. It runs ordinary Java faster in many workloads and adds two headline capabilities: polyglot execution and ahead-of-time native compilation.

A Drop-In JDK

GraalVM is a full JDK. Your existing javac, java, and bytecode all work unchanged. The difference is the compiler underneath and the extra tools it ships, like native-image.

public class Main {
    public static void main(String[] args) {
        System.out.println("Runs the same on GraalVM as on any JDK");
        System.out.println("Java: " + System.getProperty("java.version"));
    }
}

All lessons in this course

  1. What Is GraalVM
  2. Building a Native Image
  3. Reflection and Configuration
  4. Trade-offs of Native Image
← Back to Java Academy