[M3devel] GC question

Mika Nystrom mika at async.caltech.edu
Mon Jan 14 21:53:18 CET 2008


It would have to be able to return an error, no?  If there's
an ambiguous root pointing to the object...


Darko writes:
>Tony,
>
>I imagine you're intimately familiar with the garbage collector  
>implementation. If I wanted to implement a 'reallocate' function that  
>preserved references to an object although the object was reallocated,  
>ie change all existing references from the old object to the new  
>object, would this be straight forward using the code of the current  
>GC implementation? Is there any existing function that might do  
>something like this already?
>
>Thanks,
>Darko.



More information about the M3devel mailing list