Choose Your Own Performance
summary
Project Lien uses appCDS plus training runs and speculative AOT/profile reuse to shift work earlier and later, cutting startup and warmup costs. Experiments show ~2× startup speed for javac, about half the time for a single-file javac case, ~40 ms shaved from a JDK cold start, a 4× improvement on Spring PetClinic startup, and significant XML validation startup wins while warm-up often stays unchanged. Prototypes live in the OpenJDK lien repo, remain compatible with HotSpot, and fall back safely when assumptions break.
AI-written summary · about
chapters (10)
- 0:00Introduction to performance phases
- 1:24Defining startup and warmup
- 10:13Why dynamic behavior matters
- 15:34Shifting computation in Java
- 23:04Deep dive into Class Data Sharing
- 31:28Pre-main phase and CD optimization
- 36:07JIT compilation tiers and startup
- 44:28Case studies and results
- 53:21Future directions and open questions
- 1:03:41Q&A session
