From: Eric Hodel Date: 2012-09-06T07:21:46+09:00 Subject: Re: Ruby's Mark mechanism On Sep 5, 2012, at 2:41 PM, Tridib Bandopadhyay wrote: > After doing one mark cycle how GC determines which slots are reachable?. > Does they maintain any database for that? The GC walks the pointers between objects to determine reachability. It starts from Object (including constants, methods, etc.), the C stack and the global variables.