(2013/04/28 23:34), SASADA Koichi wrote:
>> Another thing: What about passing the old value to OBJ_WB too? OBJ_WB(from, to, old)? In this implementation it would just be a no-op. There are some nice garbage collectors that you can implement if your write-barriers have old values too (e.g "An On-the-Fly Mark and Sweep Garbage Collector Based on Sliding Views").
> Interesting. But I doubt that we can implement them (w/o incomplete
> WBs). Anyway, I need to read a paper. If there are good resources (slide
> pdf, etc) to know them, please tell them.

Maybe I understand the snapshot idea.
I don't think it is acceptable for CRuby (because CRuby moves memory
areas!). But not for CRuby, it may considerable.

-- 
// SASADA Koichi at atdot dot net