Explore heap archiving in Java through this conference talk from Jfokus VM Tech Summit 2020. Dive into the implementation of heap archiving introduced in JDK 12, which allows storing closed and open-ended heap graphs into CDS archives. Learn about new techniques for reducing startup work and footprint, and compare heap archiving with related features like condy, the constants API, and lazy finals. Discover the potential for storing dynamically generated classes, including lambdas, into CDS archives and the implications for closed-world AOT compilers. Gain insights from Oracle performance engineer Claes Redestad on JVM startup optimization, Class Data Sharing, and ongoing improvements in Java runtime performance.
Overview
Syllabus
Introduction
JVM Startup
Class Data Sharing
Big Changes
Experiment
Pros Cons
Improvements
The effect
Cleaning up
Other problems
Possible solutions
Recap
Catchup
Taught by
Java