diff options
author | 2024-09-30 09:04:41 +0000 | |
---|---|---|
committer | 2024-09-30 13:19:59 +0000 | |
commit | e159a3bce2dc2dda37127592e8f0b39c377e05ec (patch) | |
tree | 0781d0f7353358aa98b5e609228e3665987a43c1 /runtime/mirror/array.h | |
parent | 7b74ddc161107c60ab405e8ec3794d3aa32df5dc (diff) |
Revert^5 "Object.clone() allocates more movable objects"
This reverts commit ea269f69d05fe333e4b36634b925c3c40fc8ce95.
Bug: 355291033
Bug: 354087169
Bug: 360363656
Bug: 361327909
Bug: 364629185
Reason for revert: Failure on asan:
+addressOf succeeded on movable object
+Unexpectedly got 0 address in checkMovable
Change-Id: I1f27845bf3fb7a1542f24b943d999f2d4da5e23a
Diffstat (limited to 'runtime/mirror/array.h')
-rw-r--r-- | runtime/mirror/array.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/mirror/array.h b/runtime/mirror/array.h index 876fbf061b..7a0976ab48 100644 --- a/runtime/mirror/array.h +++ b/runtime/mirror/array.h @@ -50,7 +50,8 @@ class MANAGED Array : public Object { int32_t component_count, size_t component_size_shift, gc::AllocatorType allocator_type) - REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Roles::uninterruptible_); + REQUIRES_SHARED(Locks::mutator_lock_) + REQUIRES(!Roles::uninterruptible_); static ObjPtr<Array> CreateMultiArray(Thread* self, Handle<Class> element_class, |