Oracle has released GraalVM for JDK 24, an alternative Java Development Kit tuned to just-released JDK 24 that uses ML (machine learning)-based profile inference to boost peak performance by about 7.9% on average on microservices benchmarks, the company said.
GraalVM for JDK 24 was released on March 18. GraalVM for JDK 24 can be downloaded from graalvm.org.
With this latest update, a new generation of ML-enabled inference, called GraalNN, is being introduced. GraalNN provides context-sensitive static profiling with neural networks. Oracle said it has seen a roughly 7.9% peak performance improvement on average on a wide range of microservices benchmarks including Micronaut, Spring, and Quarkus. Native Image in Oracle GraalVM has used a pre-trained ML model to predict execution probabilities of control flow graph branches, enabling powerful optimizations and better peak performance of native images, according to Oracle. GraalVM compiles a Java application to a native binary, which starts up 100x faster, provides peak performance with no warmup, and uses less memory and CPU than an application running on a Java Virtual Machine (JVM), the company said.