~/talk

Trash Talk: A Garbage Collection Choose-Your-Own-Adventure

Talkat RubyConf 2018 · 2018-11-28..11-30· [ruby]
slides:none on file

A whimsical choose‑your‑own‑adventure frames a concrete tour of Ruby’s garbage collector: how pages and malloc behave, why Ruby keeps pages instead of freeing them, and how the mark-and-sweep algorithm marks roots and sweeps white objects. The transcript walks through a real leak caused by object_space.define_finalizer and a simple fix, and sketches ongoing work on a compacting GC and other performance improvements with concrete implementation notes.

AI-written summary · about

  1. 0:00Start
  2. 5:20What the Garbage Collector Does
  3. 14:30Malloc More Memory
  4. 16:48Branch Predictors
  5. 18:20Memory
  6. 19:11How Do Computers Actually Work
  7. 21:34Parts of the Ruby Garbage Collector
  8. 21:59What Objects Can We Delete
  9. 27:34Gray Flag
  10. 30:24Mark-and-Sweep Algorithm
  11. 31:53How a Ruby Program Could Leak
  12. 32:26What Is a Memory Leak
  13. 33:41Memory Leak
  14. 34:58Object Space Defined Finalizer
~/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.