From bcf175247272d0e321c8d988c3c01c123b56e36e Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Fri, 1 Jun 2018 13:14:32 +0100 Subject: ObjPtr<>-ify array allocations. And remove some unnecessary calls to ObjPtr<>::Ptr(). Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: Ie313980f7f23b33b0ccea4fa8d5131d643c59080 --- runtime/gc/heap_verification_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/gc/heap_verification_test.cc') diff --git a/runtime/gc/heap_verification_test.cc b/runtime/gc/heap_verification_test.cc index 4f06ee6910..38695332bb 100644 --- a/runtime/gc/heap_verification_test.cc +++ b/runtime/gc/heap_verification_test.cc @@ -35,7 +35,7 @@ class VerificationTest : public CommonRuntimeTest { VerificationTest() {} template - mirror::ObjectArray* AllocObjectArray(Thread* self, size_t length) + ObjPtr> AllocObjectArray(Thread* self, size_t length) REQUIRES_SHARED(Locks::mutator_lock_) { return mirror::ObjectArray::Alloc( self, -- cgit v1.2.3-59-g8ed1b