Garbage Collection catch-22 with blocks - Further complications

Bob Arning arning at charm.net
Sun Jul 4 16:50:08 UTC 1999


On Sun, 4 Jul 1999 20:59:38 +0930 "Peter Smet" <peter.smet at flinders.edu.au> wrote: 
>I
>can only guess that there must be some optimization where the home context
>receiver VARIABLE is accessed directly for doing the message send.
>Unfortunately, I cannot see where this is happening. Does anyone know if
>this guess is correct? Does the method context always use the receiver
>method, or is direct variable access invoked by the compiler somewhere. How
>would I override this?

Peter,

The VM does access the <receiver> variable directly (see references to the class variable <ReceiverIndex> in Interpreter). Seeing some actual code might help in figuring out what to do about this.

Cheers,
Bob





More information about the Squeak-dev mailing list