~/talk

There and Back Again

Talkat RubyConf 2012 · 2012-11-01..11-03· [ruby]
speakerdeck:jballanc
slides:none on file

Benchmarking several delegation strategies (pre hoisting, post via method_missing, on‑demand, undf swapping) triggers a reproducible crash while running 1,000 outer × 10,000 inner iterations. Debugging uses mini-ruby, GDB, malloc stack logging and malloc_history, then libgmalloc to force an immediate fault. The root cause is GC double‑freeing a method_entry; adding a mark check prevents freeing already‑marked entries. The change fixes the crash and appears in Ruby 2.0, so the bench drove a concrete language fix.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Warning
  3. 1:57Contributing to Ruby
  4. 2:45Use Ruby
  5. 3:09Bug Reporting
  6. 3:33Finding a Bug
  7. 5:15Reporting a Bug
  8. 7:57Reduce the Bug
  9. 10:11Delegation
  10. 11:05Post Delegation
  11. 11:31Delegation Library
  12. 11:51Bench Market
  13. 12:36Bug
  14. 16:11Build Ruby
  15. 16:59Ruby Internals
  16. 18:54MiniRuby
  17. 19:54GDB
  18. 25:03Malloc
~/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.