At 4:17 PM +0000 1/9/03, Nicholas Clark wrote:
While I'd like no stack walking, as it's pricey, I'm not sure it's tenable. Skipping it makes things rather more fragile, as it means that any code that may potentially trigger a DOD run while holding an unrooted object needs to root it temporarily, and that's a lot of code. Calling any vtable or string function will do it, which is pretty common for most of the operations that are creating new objects.On Thu, Jan 09, 2003 at 01:32:57PM +0100, Leopold Toetsch wrote:But I still favor the combination of: - code reordering, like done for pmc_new - DOD/GC disabling (e.g. aggregate clone) - active anchoring to the root set, where above is not applicableWhich combined means that there is no stackwalking?
We could probably twist the design around such that unrooted live objects are impossible, but I'm not sure I'm up to that level of brain twisting.
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk