30 Dec 2013 Ruby 2.1 adds a "restricted" generational collector, with minor mark phases that dramatically reduce the cost of GC. Let's take a look at the evolution of Ruby's GC. Ruby 1.8: simple mark and sweep Classic mark and sweep implementation. The entire world is stopped during both phases. Traverse object graph from roots and mark live objects, using a bit inside the object structure (FL_MAR
![Ruby 2.1: RGenGC · computer talk by @tmm1](https://cdn-ak-scissors.b.st-hatena.com/image/square/742a5cd4cf62a07941bfb9cf251fb04437896470/height=288;version=1;width=512/http%3A%2F%2Ftmm1.net%2Fruby21-rgengc%2Fruby18.png)