diff options
author | Sebastien Hertz <shertz@google.com> | 2014-08-28 14:41:50 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2014-09-03 10:26:11 +0200 |
commit | 95795e286145a4aece5c4a095fa2e7e88ee2115a (patch) | |
tree | acfae2b94be15f029b4834be9bc8192f6a9d1735 /test/ProfileTestMultiDex/Main.java | |
parent | cd7a048cfac23e6ec3e1ba3ab4c1dddb322eaadf (diff) |
Don't hold any lock when visiting classes from JDWP
Computes reference type ids of all loaded classes without holding the class
linker lock. Because computing the JDWP reference type id can cause thread
suspension, we can't hold any lock. This is detected in debug build (using
libartd.so) and causes an abort.
Also adds missing thread safety annotations related to ObjectRegistry::lock_.
Bug: 17305632
Bug: 16720689
Change-Id: Id2cbd56624499c09e4755aaef7a9b15d2bdf4c91
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions