[squeak-dev] specialObjectsOop
Ang Beepeng
beepeng86 at yahoo.com
Wed Aug 5 15:49:20 UTC 2009
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 -
>
>
--
View this message in context: http://www.nabble.com/specialObjectsOop-tp24829823p24831228.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|