GraalVM CE 25.1.3 Gets Native Image "Hello World" Program Down To Just 6.5MB - Phoronix
Just 6.5MB" /><br>Just 6.5MB" />
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
GraalVM CE 25.1.3 Gets Native Image "Hello World" Program Down To Just 6.5MB
Written by Michael Larabel in Programming on 30 June 2026 at 04:11 PM EDT. 49 Comments
GraalVM, the advanced JDK focused on ahead-of-time (AOT) Native Image compilation and since last year began shifting focus to more non-Java languages like Python and JavaScript, is out with its newest community feature release. GraalVM Community Edition 25.1.3 is now available with some interesting changes in tow.
GraalVM 25.1.3 adds support for recording and replaying JIT compilations with the Graal compiler, a new disassembly tool is added, and there is optional constant blinding support for untrusted code. Plus new performance improvements, debugging enhancements, improved compatibility, Linux builds now producing Position Independent Executables (PIEs) by default, and other enhancements. There is also improved language support for GraalJS as the JavaScript offering, GraalPy for Python adding more features, and more.
GraalVM 25.1.3 also has Web Image as a new experimental back-end for GraalVM Native Image that compiles a Java application ahead-of-time to a WebAssembly module with a JavaScript wrapper.
Catching me most by surprise was a listed change for reducing Native Image sizes by further compacting them:<br>"Reduced Native Image size by compacting image heap metadata and storage, including module metadata, runtime dynamic-access metadata, and symbol table data, and intrinsifying simple constant String.format and String::formatted calls. This reduces the size of a HelloWorld application on Linux AMD64 to ~6.5 MB."
As in, catching me by surprise that getting a basic "Hello World" program down to ~6.5MB ... Perhaps too used to other languages, but a 6.5MB binary for a "Hello World" program?! I was curious how big the HelloWorld AMD64 Linux build was previously, so was digging through the activity. Much of Graal development is behind Oracle's closed doors but this pull request brought up a public question over the impact on size. The additional Native Image compaction in this release "should be around 1-2% image size across the board." And then further elaborated:<br>"Overall, you will see larger improvements of 25.1 vs 25.0.x in image size, because we did several smaller optimizations in this area (some still pending) that add up. There is also a smaller positive effect on RSS due to the more compact representations. You will see a very large drop in helloworld image size due to the String format intrinsification."
But still, getting a HelloWorld app down to 6.5MB; is it just me or is that still rather bloated for all but the most elaborate "hello world" programs?
Downloads and more details on the GraalVM Community 25.1.3 release can be found via GitHub.
49 Comments
Just 6.5MB" data-url="https://www.phoronix.com/news/GraalVM-Community-25.1.3" data-via="phoronix" data-related="michaellarabel">Tweet
OpenBLAS 0.3.34 Improves Multi-Threading, Support For A Memory-Safe C Toolchain<br>Git 2.55 Released With Rust Support Enabled By Default, git history fixup<br>ZLUDA v6 Gets PhysX Running Well On AMD GPUs But Loses Commercial Funding<br>BASIC09 Programming Language Front-End Developed For LLVM<br>Rust PNG Image Decoder Now Even Faster: Benefiting Chrome, GNOME, Etc<br>Epic Games Announces Lore Open-Source Version Control System
Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.
Valve Sponsors Work Bringing Open-Source RADV Driver To Windows<br>"KVM Chainsaw" Expected To Hit Linux 7.3 For Dealing With God Data Structure<br>Fedora 45 Atomic Desktops Look To Allow For Web-Based Remote Installations<br>Kiwi Menu Continues Bringing macOS Vibes To GNOME<br>Lemonade 11.5 Local AI Server Released With Completed Lemonade Router<br>AMD P-State Linux Driver Patches Can Boost 1%-Low FPS Gaming Performance By 31%<br>libx11-compat Is Working To Implement Xlib Atop SDL For Wayland, macOS, Android<br>Ubuntu Linux Looking To Get Rid Of /etc/debian_version Historical Artifact
Linux 7.3 Will Treat Intel Nova Lake S Graphics As Stable
AMD Posts Linux Patches For HDMI 2.1 Auto Low-Latency Mode "ALLM" & VRR
AMD Zen 6 Client HSMP Patches Point...