diff options
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils.cc')
-rw-r--r-- | runtime/entrypoints/entrypoint_utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/entrypoints/entrypoint_utils.cc b/runtime/entrypoints/entrypoint_utils.cc index 24ab1ce..d7bbe64 100644 --- a/runtime/entrypoints/entrypoint_utils.cc +++ b/runtime/entrypoints/entrypoint_utils.cc @@ -82,7 +82,7 @@ mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* if (UNLIKELY(!CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self, access_check, &klass))) { return NULL; } - return mirror::Array::AllocUninstrumented(self, klass, component_count); + return mirror::Array::Alloc<kMovingCollector, false>(self, klass, component_count); } // Helper function to allocate array for FILLED_NEW_ARRAY. @@ -93,7 +93,7 @@ mirror::Array* CheckAndAllocArrayFromCodeInstrumented(uint32_t type_idx, mirror: if (UNLIKELY(!CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self, access_check, &klass))) { return NULL; } - return mirror::Array::AllocInstrumented(self, klass, component_count); + return mirror::Array::Alloc<kMovingCollector, true>(self, klass, component_count); } void ThrowStackOverflowError(Thread* self) { |