Trash Talk - Exploring the JVM memory management
summary
Practical overview of JVM collectors with concrete tradeoffs: shows Serial/Parallel (stop-the-world vs threaded GC), explains generational GC with Eden/Survivor/tenured promotion (survive ~3 cycles → promote), notes CMS is deprecated and G1 is default since JDK8 and uses region-based collection, covers Shenandoah and ZGC for low-latency large heaps (ZGC reports up to ~10–20% CPU overhead), describes Epsilon (no GC) and Zing/C4’s loaded-value/barrier + Brooks-pointer approach for concurrent copying; good if needing which collector fits your latency/throughput/resource targets.
AI-written summary · about
chapters (17)
- 0:00Introduction to JVM memory
- 1:53Stack and heap basics
- 6:52Mark and sweep collector
- 9:22Mark and compact collector
- 10:54Copy collector explained
- 13:20Generational garbage collection
- 17:17Cross-generational references
- 19:05Concurrent garbage collection
- 23:37Concurrent copying challenges
- 26:29Serial and parallel collectors
- 30:22CMS collector overview
- 31:24G1 garbage collector
- 34:57Epsilon no-op collector
- 36:20Shenandoah collector
- 38:48ZGC high-performance collector
- 41:14C4 collector details
- 47:17Choosing the right collector
related talks
46mTrash Talk - Exploring the Memory Management in the JVM
51mTrash Talk - Exploring the JVM memory management
52mGarbage collection for the humans
49mTrash Talk: Exploring the JVM memory management
49mTrash Talk - Exploring the memory management in the JVM
16mGarbage Collectors: Battle Royale
50mTrash Talk - Exploring the JVM memory system
51mJava Garbage Collection - The Basics
