Visualizing Garbage Collection in Rubinius, JRuby and Ruby 2.0

Visualizing Garbage Collection in Rubinius, JRuby and Ruby 2.0

In this talk we’ll dive into Ruby internals and take a close look at an ugly topic: garbage collection. How do these Ruby VM’s allocate memory for new objects? How do they identify unused objects? How do they reclaim memory from garbage objects, allowing it to be used again?

You can learn a lot about someone from their garbage. Using a series of diagrams, we’ll visually compare and contrast the complex algorithms these very different Ruby implementations use. What computer science research is behind each garbage collector? We’ll also look at the GC changes planned for the upcoming Ruby 2.1 release.

Eb5382b137146b381dd13740d165d1f2?s=128

Pat Shaughnessy

November 09, 2013
Tweet