Ian Piumarta wrote:
wa := WeakArray new: 1. Smalltalk garbageCollect. obj := Object new. wb := WeakArray with: obj. wa replaceFrom: 1 to: 1 with: wb startingAt: 1. obj := nil. Smalltalk garbageCollectMost. Transcript show: wa
Wow!!!
Why happens this????
I don't know also garbageCollectMost, seeing at the image says "Reclaims recently created garbage (which is usually most of it) fairly quickly", This means that work faster than normal garbageCollector? Can explain a bit more about it?
Thanks. gsa.