On Saturday 12 July 2003 09:05 pm, Joel Shellman wrote:
There is a way in Java to use WeakReference and ReferenceQueue to detect connection leaks and such and recover from them. Does Smalltalk have a similar mechanism?
Yes, we have a number of weak collection classes. For instance, we have dictionaries in which either the key or the value is weak. The remaining value or key can be used to identify (or clean up after) the object that just got GC'd.