class formats

Michael Haupt mhaupt at
Tue May 16 12:40:02 UTC 2006


apologies for the cross-post to two lists, but I wasn't too sure where
to ask this.

I've just been browsing the VM sources for details on the encoding of
class formats used in object instantiation.

Apparently, it seems as if the class format word that can be retrieved
by sending #format to a class has the same layout as the standard
header word of all objects. The only difference seems to be that the
format word is shifted left by 1.

Can anyone confirm this? Or am I wrong?



More information about the Vm-dev mailing list