<br><br><div class="gmail_quote">On Wed, Oct 7, 2009 at 9:17 PM, Torsten Bergmann <span dir="ltr">&lt;<a href="mailto:astares@gmx.de">astares@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
VisualWorks throws an exception &quot;Size exceeds implementation limit of 2^28 elements&quot;.<br>
<br>
Pharo and Squeak also crash the VM when you evaluate:<br>
<br>
   (Array new: SmallInteger maxVal) last<br>
<br>
What is interesting is that when you doIt in Squeak trunk:<br>
<br>
(Array new: SmallInteger maxVal) last<br>
<br>
nothing happens, but VM crashes when you printIt<br>
<br>
In Pharo VM already crashes when you just doIt.<br>
<br>
It crashes in both when you inspectIt.<br>
<font color="#888888"><br></font></blockquote><div><br>...should this be fixed in the image or the VM? <br><br>Is it the responsibility of the image to make sure that the VM isn&#39;t passed insane values, or is the responsibility of the VM to not crash when the image asks for insane values.<br>
<br>Gulik. <br></div></div><br><br clear="all"><br>-- <br><a href="http://gulik.pbwiki.com/">http://gulik.pbwiki.com/</a><br>