~/talk

Building the Next-Generation Garbage Collector in Ruby

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, software-architecture]
slides:none on file

MMTK is integrated into Ruby via a Rust-backed runtime and a C binding that adds a fast-path bump-pointer allocator, plus support for moving Immix and a new Ruby heap growth policy. Benchmarks show parallel MMTK drops a GC cycle from 38.5ms to 11.9ms on 16 threads; current Ruby MMTK runs ActiveRecord ~233ms versus Ruby’s 148ms and uses ~86MB vs 68MB, so work remains on generational (sticky) Immix, finer-grained parallel work, and JIT-inlinable allocation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27Ruby's garbage collector
  3. 6:23Modular garbage collector
  4. 7:26MMTK overview
  5. 8:31MMTK advantages
  6. 12:24MMTK improvements
  7. 13:05Moving Immix
  8. 14:51Bump pointer allocator
  9. 19:10Ruby heap growth
  10. 23:27Future improvements
  11. 28:41Conclusion and Q&A
~/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.