OSDN Git Service

BaseMutex::IsExclusiveHeld should only be called on self.
authorIan Rogers <irogers@google.com>
Tue, 8 Jul 2014 04:38:36 +0000 (21:38 -0700)
committerIan Rogers <irogers@google.com>
Tue, 8 Jul 2014 04:51:56 +0000 (21:51 -0700)
commita9d8c4ce62fff49580fa70d3fcb3aee45344d8ca
tree763c504dcac3f1b68ed5b8a148643fb3030bfaef
parent0da09a026fb6c612e659dc782312987b4515f472
BaseMutex::IsExclusiveHeld should only be called on self.

Fix issue in Thread::DumpState of lock dumping calling IsExclusiveHeld on a
thread that isn't self causing intermittent crashes of ThreadStress oat test.

Bug: 15446488
Change-Id: I86924397a4e21ce10a95ea2a737d7bfbcb8ffe28
runtime/thread.cc