From 384c7861b27f6b5ded42a32ab7d14a48c987f515 Mon Sep 17 00:00:00 2001 From: Lokesh Gidra Date: Sun, 21 Nov 2021 11:45:19 -0800 Subject: Handle black allocations in concurrent mark-compact Test: art/test/testrunner/testrunner.py Bug: 160737021 Change-Id: I4ad6d090cbf87a9120bbc4aaf778a2e1b0d8ae6b --- runtime/mirror/array.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/mirror/array.h') diff --git a/runtime/mirror/array.h b/runtime/mirror/array.h index 4bf9deebfe..dfe7d475c1 100644 --- a/runtime/mirror/array.h +++ b/runtime/mirror/array.h @@ -58,7 +58,8 @@ class MANAGED Array : public Object { REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Roles::uninterruptible_); - template + template size_t SizeOf() REQUIRES_SHARED(Locks::mutator_lock_); template ALWAYS_INLINE int32_t GetLength() REQUIRES_SHARED(Locks::mutator_lock_) { -- cgit v1.2.3-59-g8ed1b