diff options
author | Alex Light <allight@google.com> | 2017-02-01 09:41:26 -0800 |
---|---|---|
committer | Alex Light <allight@google.com> | 2017-02-01 10:17:44 -0800 |
commit | e41cad6f2a989a80f58dec18c99bb36b0ce8ae23 (patch) | |
tree | 96db80d74ab8aa7f51ea143f95351ea5e8d6ef35 /test/ProfileTestMultiDex/main.jpp | |
parent | 50a676848d644bbfafa9f47eff0ca9d2ccba6e4b (diff) |
Fix flaky jit-gcstress tests 93{4,5,8}.
We were letting the jit and the main thread race on class definition.
If the 'leader' changes then we would end up with the test class
having an unexpected definition, causing the test to fail. We fixed
this by making sure all threads get the same definition regardless of
speed.
Bug: 34799243
Test: mma -j40 test-art-host
Test: stress --cpu 60 &; \
while ./test/run-test --host --jit --gcstress --64 934 ; do ; done
Test: stress --cpu 60 &; \
while ./test/run-test --host --jit --gcstress --64 935 ; do ; done
Test: stress --cpu 60 &; \
while ./test/run-test --host --jit --gcstress --64 938 ; do ; done
Change-Id: I0d6785b4c3c41db1d655cf1ff22be60809923a7a
Diffstat (limited to 'test/ProfileTestMultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions