[Vm-dev] Re: [squeak-dev] uncompacting classes

Mariano Martinez Peck marianopeck at gmail.com
Tue Nov 29 19:54:20 UTC 2011


On Mon, Nov 28, 2011 at 7:25 PM, Eliot Miranda <eliot.miranda at gmail.com>wrote:

>
>
>
> On Sat, Nov 26, 2011 at 3:02 PM, Chris Muller <asqueaker at gmail.com> wrote:
>
>> Compact classes cannot be made uncompact in a Cog+JIT VM.
>>
>
> Not exactly true.  Certain classes cannot be uncompacted.  These are as
> defined by
>     StackInterpreter>>#checkAssumedCompactClasses
> and the ones that can't be uncompacted are
> Array
> LargeNegativeInteger
>  LargePositiveInteger
> Float
> MethodContext
>
> There is a performance advantage to being able to identify instances of
> these classes from the compact class index.
>
> But any other classes should be able to be compacted and uncompacted.
>


Eliot, should we validate this in image side (#becomeUncompact)  ?



>
>
>> Can compact classes be made uncompact when running the StackInterpreter
>> VM?
>>
>
> It is exactly the same story.  The same classes are assumed to be compact
> in the StackInterpreter VM as the CoInterpreter VM.
>
>
>> Thanks.
>>
>>
>
> HTH
> --
> best,
> Eliot
>
>
>


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


More information about the Vm-dev mailing list