how to delete a specific instance from an image?

Tim Rowledge tim at sumeru.stanford.edu
Wed Jul 12 22:16:47 UTC 2000


In message <002401bfec3d$fa9174a0$a3f1fea9 at compusic2000> you wrote:

> > Once there are no references to it it will go away when the
> > garbage collector gets around to tidying up.
> 
> Out of curiosity: what happens in the current VM with objects without
> references to them which are not yet garbage collected when allInstances is
> sent to their respective classes ? Are such objects resurrected ?
In a sense - the allInstances code scans the image and returns a list of
all those suitable objects found. If you then hold onto that list, the
object has been resurrected in true Zombie style. And remember, the only
good Zombie is a dead Zombie...

-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- If he were any more stupid, he'd have to be watered twice a week.





More information about the Squeak-dev mailing list