The Bug that Forced Me to Understand Memory Compaction

The Bug that Forced Me to Understand Memory Compaction

Ruby Central via YouTube Direct link

Mark callbacks

14 of 27

14 of 27

Mark callbacks

Class Central Classrooms beta

YouTube playlists 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. 1 Intro
  2. 2 BSON gem
  3. 3 Ruby heap
  4. 4 Allocating memory
  5. 5 Mark and sweep
  6. 6 The heap after GC
  7. 7 Reality check
  8. 8 Memory bloat
  9. 9 What I'd learned so far
  10. 10 Ruby objects in C
  11. 11 Declaring new Ruby types
  12. 12 Memory compaction and C extensions
  13. 13 Garbage collection and C extensions
  14. 14 Mark callbacks
  15. 15 Garbage collection with mark callback
  16. 16 Marking long-lived objects Extension VALUE greeting
  17. 17 Mark and pin
  18. 18 Elementary, my dear
  19. 19 The suspects
  20. 20 The culprit
  21. 21 The solution
  22. 22 Moving forward
  23. 23 rb_gc_mark_no_pin()
  24. 24 Compaction callback
  25. 25 What I learned
  26. 26 Sources
  27. 27 Summary

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.