commit | c77364cbfc4934abcf3a24f50cc1670436fe9e19 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Tue Jan 17 13:59:59 2017 -0800 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Tue Jan 17 14:11:14 2017 -0800 |
tree | 27f8e9c06544cfcc2190ed41da0ddc104c9a23ea | |
parent | ce27739a1207c530c0ecebaefef80652f401f2d1 [diff] |
Fix check failure in ConcurrentCopying::IssueEmptyCheckpoint(). Thread::DumpState() internally uses ScopedObjectAccess which expects that the caller does not hold the mutator lock if its in a suspended state or that the caller holds the mutator lock and in the runnable state. Use ScopedObjectAccess instead on the caller side to match this expectation. Bug: 34321097 Bug: 33006388 Bug: 12687968 Test: test-art-host with CC. Change-Id: I04698d21fb4820a938009c7caeb8e81721329007