commit | 71cd68d36f024d6c8ccfc8bc9d196a8f86e6cf7d | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Wed Jan 25 18:28:12 2017 -0800 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Wed Jan 25 18:53:51 2017 -0800 |
tree | d59739ac2520f6d400c81631d8198c071723b7fa | |
parent | 7510dcb0435e6c3f1da1d329bde3cf0274bc7da8 [diff] |
Avoid accessing the heap without mutator lock in Monitor::Lock. ScopedThreadStateTransition doesn't do annotations and we are accidentally accessing the heap without holding the mutator lock in Monitor::PrettyContentionInfo. Use ScopedThreadSuspension instead. Bug: 34674595 Test: test-art-host Change-Id: If3ec86429ff99405ab14b3588f192ab1c0472cc8