<br><br><div class="gmail_quote">On Sat, Nov 26, 2011 at 3:02 PM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Compact classes cannot be made uncompact in a Cog+JIT VM.<br></blockquote><div><br></div><div>Not exactly true.  Certain classes cannot be uncompacted.  These are as defined by</div><div>    StackInterpreter&gt;&gt;#checkAssumedCompactClasses</div>
<div>and the ones that can&#39;t be uncompacted are</div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Array</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>LargeNegativeInteger</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>LargePositiveInteger</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Float</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>MethodContext</div>
</div><div><br></div><div>There is a performance advantage to being able to identify instances of these classes from the compact class index.</div><div><br></div><div>But any other classes should be able to be compacted and uncompacted.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Can compact classes be made uncompact when running the StackInterpreter VM?<br></blockquote><div><br></div><div>It is exactly the same story.  The same classes are assumed to be compact in the StackInterpreter VM as the CoInterpreter VM.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Thanks.<br>
<br>
</blockquote></div><br><br clear="all"><div>HTH</div>-- <br>best,<div>Eliot</div><br>