A conference talk covering Project Leyden and JVM startup/warm-up performance improvements in JDK 24, 25, and 26. The speaker explains the AOT (ahead-of-time) cache workflow — including three-phase and two-phase approaches — and how training runs using integration or smoke tests can significantly reduce startup time (up to 66% improvement). Practical guidance is provided for Spring Boot users, including unpacking nested jars with jar-mode tools, aligning training runs with production class loading, and deploying AOT caches in containers. JDK 26 improvements address GC compatibility (G1 vs ZGC) with baseline AOT caches. Benchmark data from Spring Pet Clinic shows real-world gains in startup time, memory footprint, and time-to-first-request when combining JVM AOT cache with Spring AOT.

40m watch time
10.7K Impressions