- GraalVM 22′ GraalVM Community and GraalVM Enterprise builds are now ready to download from its GitHub page and Oracle website.
- The release includes GraalVM Reachability Metadata Repository, a centralized repository for library and framework maintainers.
Oracle‘s high-performance JDK distribution, GraalVM‘s new version, GraalVM 22.2 is coming with new features and enhancements. The latest release supports JDK 11 and JDK 17. Users can download GraalVM Community from its GitHub page or get GraalVM Enterprise builds from Oracle’s GraalVM page. GraalVM 22.2 can also be installed with GraalVM Extension Pack for Java for VS Code or with Homebrew on macOS. You can check the detailed information about the new release at GraalVM’s blog post.
Smaller and modular
- gu install js
- gu install llvm
- gu install visualvm
The team also introduced GraalVM Reachability Metadata Repository, which is a centralized repository for library and framework maintainers, allowing them to share metadata for Native Image. The metadata repository is integrated with the GraalVM Native Build Tools to make it easier to use third-party libraries.
Less memory required
With the latest improvements, Native Image now requires less memory while building a native executable. It significantly improves performance, especially in memory-constrained environments. From now on, the Native Image tool will be able to build larger native executables with 2 GB of Java heap.
GraalVM Community will also be able to dump the heap of native executables at runtime. GraalVM introduced a new command-line option to dump the heap, which is:
Users can analyze the heap dumps with Java heap dump tools, such as VisualVM. Other updates in Native Image include:
- Added support for Software Bill of Materials (SBOM) to GraalVM Enterprise Native Image. SBOM is a list of components used in a software artifact. GraalVM Native Image can now optionally include an SBOM into a native executable to aid vulnerability scanners.
- Improved debugging support on Linux: The Dwarf information now contains parameters and local variables.