From: Eric Hodel Date: 2012-09-07T05:07:10+09:00 Subject: Re: Ruby's Mark mechanism On Sep 6, 2012, at 9:59 AM, Peter Zotov wrote: >> 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? > > http://rxr.whitequark.org/mri/source/gc.c#2386 and so on. gc_marks() is probably a better starting point since it lists all the roots.