~/talk

Trash Talk - Exploring the memory management in the JVM

Talkat JNation 2024 · 2024-06-04..06-05· [java]
slides:none on file

Covers how the JVM lays out stack, heap and metaspace and walks concrete algorithms: mark‑sweep fragmentation, mark‑compact compaction costs, copy and generational flow with Eden/Survivor/old promotion after ~3 cycles, and region sizes (1 MB–32 MB). Compares collectors (Serial, Parallel, CMS deprecated, G1 default, Epsilon no‑GC, Shenandoah, ZGC, C4/Zing), explains barriers (read/write, loaded‑value), forwarding/Brooks pointers, card tables and remembered sets, and gives real numbers like a customer running a 21 TB heap and collectors claiming <10 ms pauses while noting a Netflix test saw a ~3% perf drop; remembered set is used for old→young refs.

AI-written summary · about

  1. 0:00Introduction to JVM memory
  2. 1:02Stack and heap basics
  3. 4:17Garbage collection principles
  4. 5:21Mark and sweep collector
  5. 7:56Mark and compact collector
  6. 10:05Mark and copy collector
  7. 11:30Generational garbage collection
  8. 15:25Intergenerational references
  9. 17:13Stop the world vs concurrent
  10. 19:00Write and read barriers
  11. 21:09Concurrent copying
  12. 24:01Serial garbage collector
  13. 25:27Parallel garbage collector
  14. 27:17CMS collector overview
  15. 28:01G1 garbage collector
  16. 32:57Epsilon no-op collector
  17. 34:44Shenandoah collector
  18. 37:17ZGC collector deep dive
  19. 39:46C4 collector comparison
  20. 44:45Choosing the right collector
  21. 45:48Q&A session
~/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.