Implement the "unreasonable array allocation" OutOfMemoryError.
This doesn't fix test 061 because we still need AllocWithGrowth, but at least
it gets us far enough to need that.
Change-Id: Ia7b4a1f91a31e25d439f36b17280ce21c9ed8933
diff --git a/src/thread.h b/src/thread.h
index 4f85b70..c949339 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -203,8 +203,8 @@
long long (*pLmul)(long long, long long);
long long (*pLdivmod)(long long, long long);
void* (*pAllocObjectFromCode)(uint32_t, void*);
- void* (*pArrayAllocFromCode)(uint32_t, void*, int32_t);
- void* (*pCheckAndArrayAllocFromCode)(uint32_t, void*, int32_t);
+ void* (*pAllocArrayFromCode)(uint32_t, void*, int32_t);
+ void* (*pCheckAndAllocArrayFromCode)(uint32_t, void*, int32_t);
uint32_t (*pGet32Static)(uint32_t, const Method*);
void (*pSet32Static)(uint32_t, const Method*, uint32_t);
uint64_t (*pGet64Static)(uint32_t, const Method*);