JDK 25 introduces two new JEPs as part of OpenJDK Project Leyden to improve Java startup and warmup performance. JEP 514 simplifies AOT cache creation from a two-step process into a single command using the new -XX:AOTCacheOutput flag, though it still runs two subprocesses internally, which can double peak heap memory usage.

6m read timeFrom feeds.feedblitz.com
Post cover image
Table of contents
1. Introduction2. How AOT Cache Worked in JDK 243. One-Shot AOT Cache Creation (JEP 514)4. The Downsides of the One-Shot Approach5. AOT Method Profiling (JEP 515)6. Runtime Profiling vs. Cached Profiling7. Conclusion

Sort: