Completed
Ruby heap
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
The Bug that Forced Me to Understand Memory Compaction
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 BSON gem
- 3 Ruby heap
- 4 Allocating memory
- 5 Mark and sweep
- 6 The heap after GC
- 7 Reality check
- 8 Memory bloat
- 9 What I'd learned so far
- 10 Ruby objects in C
- 11 Declaring new Ruby types
- 12 Memory compaction and C extensions
- 13 Garbage collection and C extensions
- 14 Mark callbacks
- 15 Garbage collection with mark callback
- 16 Marking long-lived objects Extension VALUE greeting
- 17 Mark and pin
- 18 Elementary, my dear
- 19 The suspects
- 20 The culprit
- 21 The solution
- 22 Moving forward
- 23 rb_gc_mark_no_pin()
- 24 Compaction callback
- 25 What I learned
- 26 Sources
- 27 Summary