JDK 25 introduces two new JEPs for Project Leyden that improve Java application startup and warmup performance. JEP 514 simplifies the ahead-of-time caching process from three commands to two using the new AOTCacheOutput option, while JEP 515 enables method profiling during training runs to eliminate warmup overhead in production. These enhancements make Project Leyden more user-friendly while maintaining compatibility with existing codebases.

5m read timeFrom softwaremill.com
Post cover image
Table of contents
JEP 514 - Ahead-of-Time Command-Line ErgonomicsJEP 515 Ahead-of-Time Method ProfilingConclusion

Sort: