Oracle has added Java 11 support to the GraalVM universal virtual machine, with the just-released GraalVM 19.3.
GraalVM 19.3 is the first long term support (LTS) release of the VM built from the mainline of the project. This means it will continue to receive security, stability, and performance updates until the next LTS release arrives.
Java 11, or Java Development Kit 11, is the latest long term support release of Java; it arrived in September 2018. With JDK 11-based GraalVM builds being compatible with Java 11, developers can run applications requiring Java 11. Users benefit from improvements that went into OpenJDK 8 through OpenJDK 11 while using the GraalVM compiler as the top-tier, optimizing, just-in-time compiler on the JVM.
When migrating from JDK 8 to JDK 11, users need to be aware of compact strings, which improve the space efficiency of the
String class, and the use of the G1 garbage collector by default. Also, GraalVM uses module encapsulation to isolate the GraalVM compiler and the Truffle API code from application code and can run modularized apps.
Other new features in GraalVM 19.3:
- GraalVM Native Image technology, which allows scripted applications to be compiled ahead of time into a machine code binary, supports Java 11 code as an early adopter feature.
- Maven build tool coordinates have changed for Native Image-related JARs. The group ID for the artifacts is now
org.graalvm.nativeimage. It had been
- Greater visibility is offered via new tools.
- Node.js support has been upgraded to the Node.js 12.x LTS branch.
Where to download GraalVM
You can download GraalVM from the project page.
This story, “GraalVM adds Java 11 support” was originally published by
Share this post if you enjoyed! 🙂