Adding a new imediate type

Joerg Beekmann joerg at deepcovelabs.com
Mon Jan 2 16:54:08 UTC 2006


Peter Crowther wrote:

>>From: [...] Joerg Beekmann
>>Can anyone comment on how much work would be involved in
>>1) Adding a new 32bit field to the object header
>>    
>>
>
>Nasty.  I tried it back in the 2.2 days, and failed.  My biggest problem
>was getting the garbage collector stable.
>
>  
>
>>2) Adding a new immediate type like integer, presumable by adding 
>>another tag bit.
>>    
>>
>
>Also nasty - there aren't any more tag bits, and tweaking with the
>header format also involves the GC.  If you're going to do this, look at
>the compact classes instead and see whether you can make yours compact.
>Last I looked, I think there were a couple of spares.  Note that changes
>to compact classes did *not* involve image format or VM changes last I
>looked.
>  
>
Thanks Peter, I am not aware of compact classes so I'll have a look.


-- 
Joerg Beekmann
DeepCove Labs
4th floor 595 Howe Street
Vancouver, BC, V6C 2T5
joerg at deepcovelabs.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060102/76ea0d4c/attachment.htm


More information about the Squeak-dev mailing list