Highlights
summary
Explains why avoid unit tests for AOT training on JDK 24 — unit tests load many nonproduction classes and pollute the AOT cache — and shows a config idea to isolate test libs into a loader the cache ignores. Compares five GCs (Serial, Parallel, G1, ZGC, Shenandoah) across throughput / latency / footprint trade-offs. Demonstrates a Maven extension (.maven/extensions.xml) plus a build‑plan plugin to profile phase timing. Details a LangChain4j retrieval augmenter pipeline, and surfaces JEP 401 and the JEP draft plus flag -XX:+TrustFinalNonStaticFields for “really final.”
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:58Unit Tests for AOT Training Runs
- 2:11GC Primer and Comparison
- 5:02Analyze Your Maven Build
- 7:29Truly Final
- 9:08Building Advanced RAG
- 11:46Valhalla Roadmap
related talks
54mJava's Hidden Gems
45mBeyond the Hype: Unpacking the Latest Features of JDK
51mJava Performance Update: From JDK 21 to JDK 25
01h 11mAOT Caching - Netflix' Practice vs OpenJDK's Theory
48mJava's Hidden Gems: Tools and Libraries
50mJava 8 to 17+ Upgrade - Lessons Learned and Best Practices
47mJava's Hidden Gems: Tools and Libraries
46mMastering GC: tame the beast and make it your best ally
