In Java 24, Project Leyden’s JEP 483, “Ahead-of-Time Class Loading & Linking”, starts Java applications like Spring PetClinic up to 40% faster without code changes or new application constraints. It needs a training run to build a cache file that ships with the application. With GraalVM Native Image and CRaC, the startup is 95-99% faster but faces more constraints. Leyden plans more improvements.
By Karsten Silz
InfoQ – Java
Article Categories:
Java