diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2016-10-03 15:32:01 -0700 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2016-10-05 17:52:29 -0700 |
commit | 02e7f1a46d8dbb277d045182cd1fa4b058d55162 (patch) | |
tree | bd14cec6d5c4a545c2b9081d72b6e1b49ec7ef1e /compiler/driver/compiler_driver_test.cc | |
parent | d1224dce59eb0019507e41da5e10f12dda66bee4 (diff) |
Fix a deadlock between thread flip and suspend request.
See 31683379#9 for the deadlock scenario.
Make ModifySuspendCount(+1) retry if the thread flip function is set.
Bug: 31683379
Bug: 12687968
Test: test-art, N9 libartd boot, Ritz EAAC with CC.
Test: 129-GetThreadId with gcstress and CC.
Change-Id: Id5cdfcd90a08a2ff497f9f0e2842fa4c613549bc
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions