[squeak-dev] class format

Helmut Rohregger helmut.rohregger at gmail.com
Wed May 7 11:16:43 UTC 2014


Hi,

I am interested in the squeak class format word, which is an instance 
variable of every squeak class object. I could not find much info about 
it...

The low 2 bits are size bits - size of what? header?
Behavior>>instSize shows how to fetch the number of instance variables 
for an object.
Thats it...

For example, the format for 'Object' is 2, for 'Array' its 6402, for 
'MethodContext' its 29070.
Can anybody tell me what additional info is stored in this format word?

- Helmut


More information about the Squeak-dev mailing list