Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

GraalVM 25.1 - First Innovation Release

GraalVM 25.1 has been released as the first Innovation Release, introducing new features and improvements aimed at enhancing performance and developer productivity for Java and polyglot applications.

Background

- GraalVM is a high-performance runtime from Oracle Labs that lets programs written in Java and other JVM languages (Kotlin, Scala, etc.) run faster. It also supports JavaScript, Python, Ruby, and LLVM-based languages (C/C++/Rust) in the same environment. - The key technology is "Native Image" — a tool that compiles Java code ahead-of-time (AOT) into a standalone native binary that starts instantly, uses less memory, and needs no separate JVM installed. This is crucial for cloud/serverless deployments where cold-start time and memory cost matter. - This release (25.1) is the "First Innovation Release" under a new yearly naming scheme (year.major.minor). Major additions include: automatic fallback from JIT (just-in-time) to AOT compilation; lower-cost memory management thanks to a "generational ZGC" port; improved speed for the Early Exception Handler used by apps like Spring; and an overhauled Metaspace for better class-loading performance. - The Mayastor storage engine (from the open-source OpenEBS project) is highlighted as a real-world case: moving control-plane code from Go to Java-on-GraalVM reduced memory use by 10x vs. the original Go implementation.