Visualizing Garbage Collection by Pat Shaughnessy

January 14, 2014 Robbie Clutton

Visualizing Garbage Collection in Rubinius, JRuby and Ruby 2.0

Watch live streaming video from pivotallabs at livestream.com

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.

Pat Shaughnessy is a Ruby developer working at McKinsey & Co., a global management consulting firm. Author of Ruby Under a Microscope, Pat loves diving into the details of a technology, learning how it works, and then explaining it in simple terms that everyone can understand. Pat’s blog articles and conference presentations have been featured multiple times on the Ruby Weekly newsletter, the Ruby5 podcast and the Ruby Show.

About the Author

Biography

More Content by Robbie Clutton
Previous
Ruby 2.1.0 changes of note.
Ruby 2.1.0 changes of note.

The Ruby 2.1.0 Release is nearly a month old, so its well past time to look over the changes and uncover t...

Next
How Argentina Pays Its Bills: 19 Million Cash Transactions a Month on Unreliable Networks with Pivotal GemFire and Spring
How Argentina Pays Its Bills: 19 Million Cash Transactions a Month on Unreliable Networks with Pivotal GemFire and Spring

GIRE’s head of architecture and development, Gustavo Valdez, shares the how they use Pivotal GemFire to run...

How do you measure digital transformation?

Take the Benchmark