|
From: | Paolo Bonzini |
Subject: | [Help-smalltalk] Re: ObjectSpaces |
Date: | Thu, 21 Oct 2010 10:10:29 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.3 |
On 10/21/2010 12:09 AM, Paolo Bonzini wrote:
However, maybe it's enough to have some _primitives_ redirected to the father ObjectSpace when the child ObjectSpace causes them.
Thinking more about it, you can just replace the methods that call primitives, so that they first consult the parent ObjectSpace. You can then use the existing trusted/untrusted mechanism to avoid _definition_ of new primitives.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |