JVM Iceberg - Modern Performance Edition
summary
Covers practical JVM tooling and concrete gains: use Java Flight Recorder + JDK Mission Control for continuous low‑overhead traces, async‑profiler for pinpoint CPU/allocation hotspots, VisualVM for live inspection and JMH for microbenchmarks; switching JDKs often yields measurable wins (pet‑clinic test ~9% faster, public reports 2–3.5% or even up to ~30% across major jumps, typical upgrade ~6–10%). GraalVM native images give instant startup but long builds; Project Crack / checkpoint‑restore and Project Leaden cut cold starts and restore JIT state; Project Lillipot saves ~5–15% heap. SnapStart works but needs secure‑random care.
AI-written summary · about
chapters (11)
- 0:00Introduction to performance
- 1:23Overview of JVM tooling
- 6:51Deep dive into performance tools
- 12:18Benchmarking with JMH
- 17:02JDK versions and migration
- 23:22GraalVM and AOT compilation
- 30:13Startup optimization projects
- 39:30Virtual threads and I/O
- 42:36Memory management optimization
- 45:46CPU architecture and costs
- 48:42Conclusion and summary
