commit | 02e7f1a46d8dbb277d045182cd1fa4b058d55162 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Mon Oct 03 15:32:01 2016 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Wed Oct 05 17:52:29 2016 -0700 |
tree | bd14cec6d5c4a545c2b9081d72b6e1b49ec7ef1e | |
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