~/talk

Trash Talk - Exploring the JVM memory management

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java]
slides:none on file

Covers how the JVM traces, reclaims and compacts memory, with concrete tradeoffs: stop-the-world pauses for simple collectors, most objects die young motivating the generational Eden/Survivor/Tenured design, and region-based G1 versus low-latency collectors like ZGC/Shenandoah/C4. Shows which collectors are parallel, concurrent or non-moving, how barriers and forwarding pointers enable concurrent copying, and when Epsilon or Zing/C4 make sense (huge heaps, lots of CPU) versus Serial/Parallel for tiny nodes.

AI-written summary · about

  1. 0:00Introduction to session
  2. 0:23Why JVM garbage collection matters
  3. 1:46Heap and stack basics
  4. 3:55Understanding garbage in JVM
  5. 5:05Automatic memory management explained
  6. 6:30Stop the world pauses
  7. 7:34Mark and sweep collector
  8. 10:00Mark and compact collector
  9. 11:49Copy collector overview
  10. 13:38Generational garbage collection
  11. 18:37Intergenerational references
  12. 20:00Concurrent marking challenges
  13. 21:26Barriers in garbage collection
  14. 24:19Concurrent copying techniques
  15. 27:12JVM garbage collectors overview
  16. 27:56Serial garbage collector
  17. 29:43Parallel garbage collector
  18. 31:09CMS collector history
  19. 32:54G1 garbage collector
  20. 37:14Epsilon non-collector
  21. 39:23Shenandoah collector
  22. 41:13ZGC collector features
  23. 43:25C4 continuous compacting
  24. 48:00Choosing the right collector
  25. 50:13Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.