From: Charles Oliver Nutter Date: 2007-10-29T21:08:09+09:00 Subject: Re: JRuby disabling ObjectSpace: what implications? evanwebb@gmail.com wrote: > I think of each_object as very much a MRI implementation feature that > the rest of us > implementors struggle to implement. Because of this, the community and > core members of > each implementation need to really beginning discussing whether or not > each_object is a > Ruby feature or an MRI feature. That's actually a really good point. each_object is more a feature of an individual implementation's memory model than a general feature that can be applied to every Ruby implementation. In many cases, like ours, you simply don't have control over that memory model enough to provide a real each_object implementation (and _id2ref requires tricks too, but it's at least bounded and explicit). So it may be fair to say that each_object is an MRI feature we emulate, but cannot simulate well enough for it to translate appropriately.