<br><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 1:57 AM, 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;">
Yes, this is one thing, which i discovered during NativeBoost development.<br>
<br>
I made the patch which fixes it<br>
<a href="http://code.google.com/p/nativeboost/downloads/detail?name=001-perform-framesize.cs" target="_blank">http://code.google.com/p/nativeboost/downloads/detail?name=001-perform-framesize.cs</a><br>
<br>
Note that it deals with #perform:withArguments:<br>
but not with #perform:withArguments:inSuperclass:<br>
<br>
means that if you use the #perform:withArguments:inSuperclass: , it<br>
also may fail, depending on call site, which may not fit all arguments<br>
into<br>
context stack. See senders of it.<br>
<br>
The main reason why it works on Cog i think, that Cog maps contexts to<br>
stack.. so contexts don&#39;t have  a hardcoded limits of their stack<br>
sizes.<br>
(but that juts guess , i didn&#39;t checked it)<br></blockquote><div><br></div><div>That&#39;s right.  This applies to both the JIT and the StackInterpreter.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
On 1 February 2011 00:09, Nicolas Cellier<br>
<div><div></div><div class="h5">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt; Here is an interesting bug solved in Pharo affecting Squeak too with<br>
&gt; regular (non cog) vm<br>
&gt; <a href="http://code.google.com/p/pharo/issues/detail?id=3468" target="_blank">http://code.google.com/p/pharo/issues/detail?id=3468</a><br>
&gt;<br>
&gt; A patched CompiledMethod&gt;&gt;needsFrameSize: is in Pharo.<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
<br>
</font></blockquote></div><br>