[Vm-dev] Compact classes not in the compact array

Hans-Martin Mosner hmm at heeg.de
Fri Apr 6 16:37:39 UTC 2012


Am 06.04.2012 16:41, schrieb Guillermo Polito:
>  
>
>
> Hi!
>
> I was wandering what are the implications of a class being compact or not.
> And also what happens if a class has it's format thinking it's compact but
> it's not in the compact classes array?
>
> I'm looking at the implications of bootstrapping a smalltalk inside the
> same environment, and having two CompiledMethod classes, two Array classes,
> etc, brings me to this issue :).
>
> Thanks!
> Guille
>
Compact classes must be in the compact classes array so their instances know their correct class.
If you want to bootstrap an image inside another one, do it without compact classes.
You can always add them later when needed (which is somewhat questionable, because their space-saving advantage has a
corresponding speed disadvantage).

Cheers,
Hans-Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120406/cd6f805d/attachment.htm


More information about the Vm-dev mailing list