Project Leyden brings AOT caching to OpenJDK (JDK 25+) to reduce Java startup time, warmup time, and memory footprint. The post explains how to set up an AOT cache using either a 2-step (joint training+assembly) or 3-step (separate training, assembly, production) workflow with specific JVM flags. Benchmark results on JDK 26

11m read timeFrom foojay.io
Post cover image
Table of contents
How to use an AOT CacheShould I start using AOT Cache in Java already?

Sort: