New Java Developments: Compilation and Garbage Collection
summary
Covers recent Java compilation and GC work: Tiered JIT compilation history and the experimental Java 9 Ahead-Of-Time (AOT) compiler for improving startup and warmup performance. Describes garbage collectors — G1 (now default), the low-pause Shenandoah GC, and the no-overhead Epsilon GC — explaining their benefits, limitations, and effects on responsiveness and heap sizing, with examples and a demo.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 2:31Java compilation basics
- 6:26JVM compilers C1 and C2
- 9:43Benchmarking compilation modes
- 14:04AOT with jaotc
- 24:20AOT compilation conclusion
- 27:03Garbage collection overview
- 30:41Serial and parallel GC
- 31:51Concurrent GC and CMS
- 34:20Garbage-First collector
- 38:21Shenandoah introduction
- 43:02Shenandoah performance
- 47:54Epsilon GC explained
- 50:25Epsilon GC use cases
- 51:52GC conclusion
