From: Roger Pack Date: 2008-11-06T08:52:19+09:00 Subject: [ruby-core:19707] Re: GC thought > Here is a recent patch I've been experimenting with--for any advice. [1] > [1] http://gist.github.com/18242 [also available > http://wilkboardonline.com/roger/gc.c since I can never get the > patches to work quite right] On second thought one problem that could occur is that if a program is running with several threads active at once [each within a rb_thread_blocking_region] then forking for GC would [AFAIK] also fork the threads so you'd have instead of 2 active threads, 4, some of them doing duplicate work. So I suppose you'd only want to run it if you know you're still single threaded. 1.8.x would be fine, though. Thoughts? -=R