GraalVM 20.0 has arrived, as was announced on the official website. GraalVM is a virtual machine that lets you run existing Java applications faster, and also supports several other languages. The latest release offers new language features as well as platform and tooling updates.
Although GraalVM 20.0 is a major release, the latest LTS (Long-Term Support) patch release is GraalVM 19.3.1, released last month as a Critical Patch Update (CPU). See the version roadmap for an overview:
Let’s take a look at the new features in v20.0.
SEE ALSO: GraalVM: Run programs faster everywhere
Platform, language and tooling updates
While GraalVM builds for Windows platforms are still experimental, GraalVM 20.0 adds the functional
Java now has the
-Dgraal.TuneInlinerExploration=0 option, with float values in the range
[-1;1]. It allows GraalVM Enterprise to adjust the compiler for short warmup time or better peak performance. Mitigation of Jump Conditional Code (JCC) Erratum has been added as well, which should help avoid performance loss on Intel CPUs.
Tooling updates in v20.0 include the new option to install all available components from a local directory using
gu, such as:
gu install -C /path/to/downloaded/20.0-components/ native-image llvm-toolchain ruby r python wasm.
Further details on GraalVM 20.0 can be found in the release notes.