[Mono-list] managed question

Fergus Henderson fjh@cs.mu.oz.au
Mon, 26 Nov 2001 12:51:41 +1100


On 24-Nov-2001, Lloyd Dupont <lloyd@galador.net> wrote:
> i wonder how the runtime could change all reference to a variable, did 
> he really do this ?

That's implementation dependent... but for some implementations,
yes, the garbage collector will move objects around in memory
and update all the references to those objects to point to the
new locations.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.