Java 24: A story about code, conflicts and conquer
summary
Memory drops 10–20% on real projects after enabling Compact Object Headers (JEP 450) which shrinks headers ~33% with no code changes; startup halves (2.09s → 1.09s) using the Ahead-of-Time Class Loading (JEP 483) record/create/run flow and shows ~40% gain on Spring Boot; high-concurrency paths handle ~10× more requests without meltdown after using Virtual Thread Synchronization (JEP 491) to avoid pinning; commands use experimental flags to enable these features.
AI-written summary · about
chapters (17)
- 0:00Introduction to Java 24
- 1:12Memory wars begin
- 4:10Object headers explained
- 7:49Silent memory war rages
- 9:16Compact object headers weapon
- 12:58Project Valhalla and Lily
- 16:09Value classes introduction
- 19:04Speaker introduction
- 20:51Startup time struggles
- 22:20Ahead of time class loading
- 26:12Startup time reduced
- 26:35Concurrency challenges
- 28:22Virtual threads without spinning
- 31:12Stream gatherers in Java 24
- 36:15Victory dance demo
- 37:07Real-world impact and resources
- 38:35Q&A and thanks
