Hi, thanks for ur reply.
I was at these lines, in C and Smalltalk.
sched = longAt(((longAt((specialObjectsOop + BaseHeaderSize) + (SchedulerAssociation << ShiftForWord))) + BaseHeaderSize) + (ValueIndex << ShiftForWord));
sched := self fetchPointer: ValueIndex ofObject: (self splObj: SchedulerAssociation).
How to relate SchedulerAssociation with specialObjects?
Thanks.
Ang Beepeng
Bert Freudenberg wrote
You have discovered the interface between the VM and the Image. Some
objects must be known to the VM, and the specialObjects array holds
them:
Smalltalk specialObjectsArray
For example, the first three entries are nil, true, and false - the VM
needs nil to initialize instance variables of new objects, and the
booleans for conditional jumps.
Also see #recreateSpecialObjectsArray
- Bert -