[Vm-dev] Array new: SmallInteger maxVal

Bert Freudenberg bert at freudenbergs.de
Thu Oct 8 09:08:13 UTC 2009


On 08.10.2009, at 10:43, Douglas Brebner wrote:

>
> John M McIntosh wrote:
>>
>> It's a issue of what is insane, plus adding boundary checks  
>> everywhere
>> that is rarely needed.
>>
>> The correct response for the issue is to throw a out of memory
>> exception when the VM figures out it
>> can't allocate the 4GB of memory here.
>>
>
> Isn't that possible on a 64bit vm/image?

http://squeakvm.org/squeak64/faq.html

- Bert -




More information about the Vm-dev mailing list