[squeak-dev] specialObjectsOop

Bert Freudenberg bert at freudenbergs.de
Wed Aug 5 15:24:13 UTC 2009


On 05.08.2009, at 17:13, Ang Beepeng wrote:

>
> In Squeak VM source, what is "specialObjectsOop"? It is read from an  
> image
> file.

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 -





More information about the Squeak-dev mailing list