[Vm-dev] Array new: SmallInteger maxVal

Torsten Bergmann astares at gmx.de
Wed Oct 7 08:17:41 UTC 2009


VisualWorks throws an exception "Size exceeds implementation limit of 2^28 elements".

Pharo and Squeak also crash the VM when you evaluate:

   (Array new: SmallInteger maxVal) last

What is interesting is that when you doIt in Squeak trunk:   

(Array new: SmallInteger maxVal) last

nothing happens, but VM crashes when you printIt

In Pharo VM already crashes when you just doIt.

It crashes in both when you inspectIt.
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


More information about the Vm-dev mailing list