From: Paul Brannan Date: 2002-05-26T14:46:12+09:00 Subject: Re: FAQ for newcomers familiar with lower level language On Sat, May 25, 2002 at 06:56:42AM +0900, Kent Dahl wrote: > Are there existing/planned hooks into the GC? I know I'd like to be able > to get some feedback from the GC about what the peaks are, how much it > has freed since some point etc. Basically like those thermometers that > measure daily bottom and daily top, plus status I could diff at > (arbitrary) points in my code. It would also be nice, from a debugging perspective, to be able to ask Ruby "who has a reference to me?" The only way I've found to do this so far is by running Ruby inside gdb and placing a breakpoint in rb_gc_mark. Paul