diff options
author | Alex Light <allight@google.com> | 2017-07-20 11:42:12 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2017-07-20 22:04:36 +0000 |
commit | ed3a357e6b28dbc00a60b72af8bb846775348172 (patch) | |
tree | ee94b390cabe28db2bc13f5e6d900a666e39d8a4 /compiler/optimizing/codegen_test_utils.h | |
parent | e8f48da635c4d07bbe431e5819da8e1fad91a8ef (diff) |
Make test 924 less flaky.
GetThreadState on threads blocked on monitors can be affected by GC
and other internals. This is because internal suspension of threads
marks them as Runnable. To make this test not observe this as much we
make it call GetThreadState multiple times and use the most common
result as the threads current state.
Bug: 62117833
Bug: 63903050
Test: stress --cpu 64 &
while ./test/run-test --host 924; do ; done
Change-Id: Iaa38cb58386416a72a6bb3c26ed90f4b8b623d1b
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions