|
Re: Re: Growing image: msg#00176lang.smalltalk.squeak.beginners
On Wed, 2006-11-29 at 01:52 +0100, Klaus D. Witzel wrote: > Hi Norbert, > > the tool is Smalltalk, just inspect > > (((Smalltalk allClasses collect: [:each | each name -> each instanceCount > ]) > reject: [:each | each value = 0]) > asSortedCollection: [:a :b | b value < a value]) asArray > > This gives # of objects per class, in a nice GUI :-) > Thanks, this is quite good. I have now a statistic like: 246565 WeakArray 241929 WeakKeyAssociation 179848 ByteString 171165 Array 159003 Association 130254 WeakValueAssociation What is the best way to determine where this instances are referenced. Do I have to use PointerFinder or Smalltalk browseAllObjectReferencesTo: or is there better way? thanks for your help, this goes also to Ramon and David. You are very helpful, guys. Norbert
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Growing image, David T. Lewis |
|---|---|
| Next by Date: | Re: Re: Growing image, Klaus D. Witzel |
| Previous by Thread: | Re: Growing image, Klaus D. Witzel |
| Next by Thread: | Re: Re: Growing image, Klaus D. Witzel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |