|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] the test test - a more detailed analysis of image contents |
Date: | Mon, 20 Jul 2009 23:11:45 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/20/2009 09:59 PM, Stefan Schmiedl wrote:
On Mon, 20 Jul 2009 21:34:32 +0200 Paolo Bonzini<address@hidden> wrote:st> (b := a allOwners) collect: [ :e | e class ]allOwners ... good thing I didn't start writing a reference finder :-)st> b first attributes basicSize 32is basicSize the RAM allocated for "the object itself", i.e. mostly the pointers referencing other objects?
No, it's the number of indexed instance variables ("slots" in the OrderedCollection or Dictionary, elements in a non-growable collection like Array or String).
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |