Levente Uzonyi uploaded a new version of Monticello to project The Trunk: http://source.squeak.org/trunk/Monticello-ul.375.mcz
==================== Summary ====================
Name: Monticello-ul.375 Author: ul Time: 28 February 2010, 2:58:21.945 pm UUID: 2e3b9ffd-b728-364b-84c2-1f189c89fcdf Ancestors: Monticello-ul.374
- replaced MCDefinition's Instances class variable with a class instance variable. Smaller WeakSets are better than a large one.
=============== Diff against Monticello-ul.374 ===============
Item was changed: Object subclass: #MCDefinition instanceVariableNames: '' + classVariableNames: '' - classVariableNames: 'Instances' poolDictionaries: '' category: 'Monticello-Base'! + MCDefinition class + instanceVariableNames: 'instances'! + MCDefinition class + instanceVariableNames: 'instances'!
Item was changed: ----- Method: MCDefinition class>>instanceLike: (in category 'as yet unclassified') ----- instanceLike: aDefinition
+ ^(instances ifNil: [ instances := WeakSet new ]) - ^(Instances ifNil: [ Instances := WeakSet new ]) like: aDefinition + ifAbsent: [ instances add: aDefinition ]! - ifAbsent: [ Instances add: aDefinition ]!
Item was changed: + (PackageInfo named: 'Monticello') preamble: ''! - (PackageInfo named: 'Monticello') preamble: 'WeakArray removeDependent: (MCMethodDefinition classPool at: #Definitions)'!
Item was changed: ----- Method: MCDefinition class>>clearInstances (in category 'as yet unclassified') ----- clearInstances
+ instances := nil. + self subclassesDo: #clearInstances! - Instances := nil!
squeak-dev@lists.squeakfoundation.org