GraalVM 22.1, the latest release of the Oracle-built polyglot runtime, features an early iteration of quick build mode for Native Image, the platform’s technology for ahead-of-time (AOT) compilation of Java code into a standalone executable.
GraalVM 22.1 was introduced April 26. With quick build mode, the compiler works in economy mode with fewer optimizations, resulting in much faster compilation times. Native Image AOT-compiles Java code to a standalone executable, known as a native image. Depending on the size and complexity of the application being compiled, the build process can take significant time, with GraalVM having to analyze and optimize an entire application and its dependencies. The developers of GraalVM found that quick build mode resulted in an 43% improvement in the overall build time.