[squeak-dev] ditching Monticello objects.

Keith Hodges keith_hodges at yahoo.co.uk
Thu Feb 12 17:46:33 UTC 2009


Great List John! I didn't realise that there were so many more. 96
Classes now respond to #cleanUp in my image.

http://bugs.squeak.org/view.php?id=7244

I added the following to the change set there.

Keith

====
>> I've been collecting lists of pruning methods so..
>>
>>     ScrollBar initializeImagesCache.
added
>>     GradientFillStyle initPixelRampCache.
added
>>     NaturalLanguageFormTranslator classPool at: #CachedTranslations
>> put: nil.
added
>>     NaturalLanguageTranslator resetCaches.
added
>>     PartsBin clearThumbnailCache.
already present
>>     PaintBoxMorph classPool    at: #ColorChart put: nil.
added
>>     PaintBoxMorph classPool at: #Prototype put: nil.
added
>>     ImageMorph classPool at: #DefaultForm put: (Form extent: 1 at 1
>> depth: 1).
added
>>     Utilities classPool at: #ScrapsBook put: nil.
added #cleanUp
>>     Project allInstancesDo: [ :each | each setThumbnail: nil ].
not sure about this one
>>     ScriptingSystem stripGraphicsForExternalRelease.
added to StadardScriptingSystem cleanUp
>>     ProjectHistory currentHistory initialize.
added
>>     Utilities zapUpdateDownloader.
added
>>     Smalltalk forgetDoIts.
>>     Behavior flushObsoleteSubclasses.
>>     CommandHistory allInstancesDo: #initialize.
added
>>     ChangeSorter removeChangeSetsNamedSuchThat: [ :each | true ].
equivalent already in ChangeSet #cleanUp
>>     ChangeSet resetCurrentToNewUnnamedChangeSet.
updated ChangeSet #cleanUp
>>     MethodChangeRecord allInstancesDo: [ :x | x noteNewMethod: nil ].
>>     RequiredSelectors initialize.
currently does:  self current ensureClean
>>     ProvidedSelectors initialize.
added ModelExtension cleanUp
>>     LocalSends initialize.
included in ModelExtension cleanUp
>>     SendCaches initializeAllInstances.
added cleanUp
>>     Utilities cleanseOtherworldlySteppers.
already in Utilities freeSomeSpace
>>     Smalltalk organization removeEmptyCategories.
added to ClassOrganizer cleanUp
>>     Browser initialize.
>>     SMSqueakMap default purge.
already in SMSqueakMap freeSomeSpace
>>     SystemBrowser removeObsolete.
covered by AppRegistry freeSomeSpace
>>     TheWorldMenu removeObsolete.
>>     AppRegistry removeObsolete.
covered by AppRegistry removeObsolete
>>     FileServices removeObsolete.
>>     MCFileBasedRepository flushAllCaches.
>>     MCDefinition clearInstances.
>>     Undeclared removeUnreferencedKeys.
In SmalltalkImage cleanUp
>>     Smalltalk flushClassNameCache.
in SystemDictionary cleanup
>>     3 timesRepeat: [ Smalltalk garbageCollect. Symbol
>> compactSymbolTable ].
>>     Set rehashAllSets.
does this save memory?





More information about the Squeak-dev mailing list