[Vm-dev] [squeak-dev] Endless recursion: "String new: -1"

Tobias Pape Das.Linux at gmx.de
Thu Jul 7 21:03:43 UTC 2016


On 07.07.2016, at 19:48, Eliot Miranda <eliot.miranda at gmail.com> wrote:

> I disagree.  There are implementation limits.  So answering #'unsupported operation' or #'bad argument 's as logical and defensible as #'out of memory' and actually truer.  The VM does /not/ try and allocate memory beyond the address space size.  So actually the failure for > the range 0 to 2^32-1 or 0 to 2^64-1 as #'out of memory' is untrue; the reason is not because the ysste, os out of memory; the reason is that this is a bad argument, outside of the valid range of the primitive.

Disregarding my other tongue in cheek reply, 
does that mean, the test worked in older images/Vms, because those treated every failure due to
arguments (be it size or kind) as 'out of memory'?

Best regards
	-Tobias


More information about the Vm-dev mailing list