Part 4: the implementation


The object memory

most objects: 1 word header
base header

...

fixed and/or

indexed fields

...

...

sqk00041.gif (858 Byte)

type (2)=0
size (6)
format (4)
ccIndex (5)
hash (12)
dirty/root/mark (3)

ccIndex := #(CompiledMethod Symol Array LargePositiveInteger MethodDictionary Association Point Rectnagle Class Organizer Bockl Context MethodContext ... 20 spare ...)

non-compact objects: 2 word header

size header
base header

...

sqk00041.gif (858 Byte)

class oop (30) + type(2)= 01
                              type    = 01

large and/or non-compact objects: 3 word header

size header
class header
base header

...

sqk00041.gif (858 Byte) size (30) + type (2)            = 11
sqk00041.gif (858 Byte) class oop (30) + type (2) = 11
type                                     = 11