summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorLokesh Gidra <lokeshgidra@google.com>2018-10-12 00:44:38 -0700
committerLokesh Gidra <lokeshgidra@google.com>2018-10-31 15:27:47 -0700
commit6338c5f8fbba9ba209f8f8a55b89932e4c2f0df2 (patch)
tree9cecaeabd91516e4391ffac5e5101a35fa814be1 /compiler/optimizing/graph_visualizer.cc
parent97d40f9c7b1157783d09861ce76d3a0b3da73cbe (diff)
Don't fail 050-sync-test due to thread timing
Currently, there is a thread execution possible wherein the sleepy thread, even though it has a longer wait, finishes before the pesky thread, and hence prints an output which is not expected, even if the synchronization primitives are working fine. In this change we let sleepy thread wait in a loop until pesky thread is not done. This way the unexpected output is printed only if interrupt() fails to interrupt sleepy thread. Bug: 117597114 Test: art/test/testrunner/testrunner.py --target --gcstress --debug -t 050-sync-test Change-Id: I4fc3afb40ac11e413174391419eaad39e80c8b10
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions