diff options
| author | Vladimir Marko <vmarko@google.com> | 2016-04-20 15:06:31 +0100 |
|---|---|---|
| committer | Vladimir Marko <vmarko@google.com> | 2016-04-20 15:20:20 +0100 |
| commit | 62977ff198deb673a6990202a2fb8b993217c57c (patch) | |
| tree | a935f37990e67d5deb3ce238484c5d60f2c8fc41 /test/ProfileTestMultiDex/Second.java | |
| parent | ac6d660672c21a0ace14276e9c356906218b4412 (diff) | |
Fix RTP to hold mutator lock while using raw mirror pointers.
ReferenceTypePropagation::RTPVisitor::SetClassAsTypeInfo()
is taking a raw mirror::Class* parameter, so it must be
marked with SHARED_REQUIRES(Locks::mutator_lock_). The
omission of this annotation allowed
https://android-review.googlesource.com/216926
to compile despite using GC-unsafe raw mirror pointers in
UpdateFieldAccessTypeInfo(). This led to test failures in
the debug-GC mode.
Change-Id: I2a743070c642e7a611480e5d495af44f0945e43f
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions
