~/talk

Under the Hood of Ruby's Generational Garbage Collector

Talkat Rocky Mountain Ruby 2014 · 2014-09-24..09-26· [ruby]
links:none on file
slides:none on file

Ruby 2.1 adds a generational GC but C extensions force write barriers and many objects become “shady,” so minor GCs must scan more memory. A concrete profiler called Arbi Kit is built: a C gem that streams allocation and reference events over zero mq using MessagePack to a Qt desktop client and it works in production with low overhead. Demos show surprising counts like 29,000 strings and tuning effects from changing init heap slots and malloc_limit 16MB.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Generational Garbage Collector
  3. 7:13Key takeaways
  4. 8:25Memory profiling
  5. 10:58What is ARBIT
  6. 12:08ARBIT Kit
  7. 14:09Demo
  8. 18:18GC Tuning Visualization
  9. 19:02Ruby GC Heap in ID Slots
  10. 26:04Ruby GC Analog Limit
~/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.