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.cc b/src/thread.cc
index e997723..87a2017 100644
--- a/src/thread.cc
+++ b/src/thread.cc
@@ -86,9 +86,9 @@
pLdivmod = __aeabi_ldivmod;
pLmul = __aeabi_lmul;
pAllocObjectFromCode = art_alloc_object_from_code;
- pArrayAllocFromCode = art_array_alloc_from_code;
+ pAllocArrayFromCode = art_alloc_array_from_code;
pCanPutArrayElementFromCode = art_can_put_array_element_from_code;
- pCheckAndArrayAllocFromCode = art_check_and_array_alloc_from_code;
+ pCheckAndAllocArrayFromCode = art_check_and_alloc_array_from_code;
pCheckCastFromCode = art_check_cast_from_code;
pHandleFillArrayDataFromCode = art_handle_fill_data_from_code;
pInitializeStaticStorage = art_initialize_static_storage_from_code;