[Vm-dev] Class format

Mariano Martinez Peck marianopeck at gmail.com
Wed Aug 31 10:50:34 UTC 2011


On Fri, Aug 26, 2011 at 2:30 PM, Igor Stasenko <siguctua at gmail.com> wrote:

>
> On 25 August 2011 23:26, Michael van der Gulik <mikevdg at gmail.com> wrote:
> >
> > Hi.
> >
> > Are there really 14 bits free in the Class "format" field?
> >
> > The comment for Class>>format:
> >
>
> probably yes.
> There are 12 bits are for identity hash (and 2 more?),
> and since every instance has own hash value, these bits in format
> field of class is not used.
>
>
I didn't understand. Why you say there are 14 free bits in the instVar
'format' of a class?  I was checking the method #format: nInstVars variable:
isVar words: isWords pointers: isPointers weak: isWeak

and I don't understand that.

Thanks



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110831/fdfdf2de/attachment.htm


More information about the Vm-dev mailing list