~/talk

Garbage Collection, State of the Art

TalkinSpanishat Commit Conf 2018 · 2018-11-23..11-24· [compilers-and-language-design, java]
slides:none on file

Covers how garbage-collected memory is organized and managed (stack, heap, arenas, reference counting, GC, compaction), contrasts managed vs off‑heap memory, and explains common GC techniques and terms such as root scanning, exact vs conservative, mark-sweep/mark-compact/mark-copy, generational, incremental, concurrent, parallel, real-time, and write barriers. Describes the GC implementations and key tuning parameters in JDK, V8, and Go, discusses compiler/runtime requirements for GC, and gives techniques for writing code that coexists well with a GC.

AI-written summary · about

  1. 0:00Introduction
  2. 2:05What is memory garbage?
  3. 5:12Stop-the-world latency
  4. 8:43Root discovery and marking
  5. 12:53Sweeping and compaction
  6. 17:26Copying collection
  7. 21:58Free memory allocation
  8. 26:06Latency reduction
  9. 29:13Generational hypothesis
  10. 33:28Barriers and remember sets
  11. 37:17Memory regions
  12. 40:04Concurrent collection
  13. 45:58Technique summary
  14. 46:19Go: concurrent collector
  15. 48:24V8: generational collector
  16. 49:48Java: traditional collector
  17. 51:14Java: G1 improvements
  18. 53:01ZGC and Shenandoah
~/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.