The Trunk: Collections-ul.312.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-ul.312.mcz

commits-2
Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.312.mcz

==================== Summary ====================

Name: Collections-ul.312
Author: ul
Time: 23 February 2010, 4:46:42.193 pm
UUID: 4726ab22-cdf9-d344-b6ed-cffd7fbf66c5
Ancestors: Collections-ar.310

Finalization enhancement (part 1)
- use immediate finalization

=============== Diff against Collections-ar.310 ===============

Item was changed:
  ----- Method: WeakRegistry>>installFinalizer (in category 'initialize') -----
  installFinalizer
 
+ valueDictionary finalizer: #finalize!
- valueDictionary finalizer: [ :value |
- (objectsToFinalize ifNil: [ objectsToFinalize := OrderedCollection new ]) add: value ]!

Item was changed:
+ (PackageInfo named: 'Collections') postscript: 'WeakRegistry allInstancesDo: #installFinalizer.
+ Smalltalk garbageCollect.
+ WeakRegistry allInstancesDo: #finalizeValues'!
- (PackageInfo named: 'Collections') postscript: ''!