<br><br><div class="gmail_quote">On Fri, May 6, 2011 at 12:47 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@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;">
<div class="im"><br>
On 6 May 2011 20:04, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; and your point would be?<br>
&gt;<br>
</div>it needs to be fixed.<br></blockquote><div><br></div><div>No.  It does /not/ need to be fixed.  As I said earlier it is *absurd* to throw away performance for the ability to change certain classes to become uncompact. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Because if we can&#39;t do:<br>
<div class="im"><br>
Smalltalk compactClassesArray do: [:each | each ifNotNil: [each<br>
</div>becomeUncompact]].<br>
<br>
then we cant:<br>
<br>
VM getRidOfCompactClassesNotion<br>
<br>
:)</blockquote><div> </div><div>That will be done by producing a new GC and a new image format, not by tinkering with compact classes in the current GC.  Right?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div class="h5">
&gt; On Fri, May 6, 2011 at 9:38 AM, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi, i tried to do a simple:<br>
&gt;&gt;<br>
&gt;&gt; Smalltalk compactClassesArray do: [:each | each ifNotNil: [each<br>
&gt;&gt; becomeUncompact]]<br>
&gt;&gt;<br>
&gt;&gt; and it crashing the image.<br>
&gt;&gt; I tried to do this for individual classes.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; CompiledMethod, ByteString, BlockClosure, BlockContext ,<br>
&gt;&gt;  seems working ok.<br>
&gt;&gt;<br>
&gt;&gt; MethodContext, LargePositiveInteger, LargeNegativeInteger, Float<br>
&gt;&gt; crashes the image.<br>
&gt;&gt;<br>
&gt;&gt; i also tried following:<br>
&gt;&gt;<br>
&gt;&gt; [Smalltalk compactClassesArray do: [:each | each ifNotNil: [each<br>
&gt;&gt; becomeUncompact]]<br>
&gt;&gt; ] forkAt: Processor highestPriority<br>
&gt;&gt;<br>
&gt;&gt; but it didn&#39;t helped much.<br>
&gt;&gt;<br>
&gt;&gt; Also, i saved image after couple successfull #becomeUncompact steps..<br>
&gt;&gt; and now VM cannot open image, most probably<br>
&gt;&gt; because it fails on &#39;assumptions check&#39; defined in #checkAssumedCompactClasses<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Igor Stasenko AKA sig.<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Best regards,<br>
Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br>