how to delete a specific instance from an image?

George Bosworth georgeb at microsoft.com
Wed Jul 12 22:30:08 UTC 2000


I've always preferred to describe what's going on by saying that the VM
implicitly maintains a weak reference to all objects and that the gc
collects objects that are only weakly referenced.  From this perspective,
objects are never ressurrected, but rather allInstances creates a strong
reference that will prevent the object from being gc'd. 

-----Original Message-----
From: Andreas Kuckartz [mailto:a.kuckartz at ping.de]
Sent: Wednesday, July 12, 2000 1:16 PM
To: squeak at cs.uiuc.edu
Subject: Re: how to delete a specific instance from an image?


> 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 ?

Andreas





More information about the Squeak-dev mailing list