eightbitraptor[wiki]

Ruby Object/GC Lifecycle

Interesting typedefs

Every Ruby object is an [rvalue].

Ruby manages it’s memory using two heaps ([ruby-heaps]) consisting of RVALUE objects. These heaps are contained in a struct called rb_objspace_t. [ruby-objspace]

The initialisation of the heaps