summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/local_optimizations.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2013-01-08 14:41:26 -0800
committer Elliott Hughes <enh@google.com> 2013-01-08 14:41:26 -0800
commitb4e94fd380a84c755264e8668a16052442c7ec32 (patch)
tree0b0262d490c8dd1dffad4861e07b2198d0a2e503 /src/compiler/codegen/local_optimizations.cc
parent4cd121ef0cb35fced70c7d9de378277be7a727d9 (diff)
Extend and fix the monitor diagnostics.
1. Including kSleeping as one of the interesting states. 2. Reset the wait_monitor_ field later so that a thread caught trying to switch back to kRunnable doesn't show up as waiting/sleeping on "null". This only came to light because my wait/sleep additions to the ThreadStress test all do very short waits/sleeps. 3. Remove the bogus "held by" output. You can only wait/sleep on a monitor you hold, so we know the answer already (and this code was producing the wrong answer because it was using stale data). Change-Id: I23135862c2a429f4eee222756d3ff35204d12d62
Diffstat (limited to 'src/compiler/codegen/local_optimizations.cc')
0 files changed, 0 insertions, 0 deletions