From: Tridib Bandopadhyay Date: 2012-09-07T00:36:26+09:00 Subject: Re: Ruby's Mark mechanism Eric Hodel wrote in post #1074857: > 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. Yes I have a literature stating exactly what you said. But can anyone tell me in code level where and in which file I can see GC checks for these objects? Thanks Tridib -- Posted via http://www.ruby-forum.com/.