Chris Muller uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-cmm.503.mcz==================== Summary ====================
Name: System-cmm.503
Author: cmm
Time: 24 November 2012, 6:33:26.696 pm
UUID: 143f13cb-f6b7-4a0e-8439-eac9a70af9c7
Ancestors: System-eem.502
SpaceTally provide results in most-to-least interesting sequence.
=============== Diff against System-eem.502 ===============
Item was changed:
----- Method: SpaceTally>>spaceTally: (in category 'class analysis') -----
+ spaceTally: classes
- spaceTally: classes
"Answer a collection of SpaceTallyItems representing the memory space (in bytes) consumed by the code and instances of each class in the system. Note that code sizes do not currently report memory consumed by class variables. "
-
"((SpaceTally new spaceTally: (Array with: TextMorph with: Point)) asSortedCollection: [:a :b | a spaceForInstances > b spaceForInstances]) asArray"
-
self preAllocateResultsFor: classes.
Smalltalk garbageCollect.
self computeSpaceUsage.
^ results
+ sort: [ : a : b | a spaceForInstances > b spaceForInstances ] ;
+ yourself!
- !