diff options
| author | 2014-12-15 15:59:49 -0800 | |
|---|---|---|
| committer | 2014-12-15 17:06:31 -0800 | |
| commit | 82a800d1408937951155f546a3671b83b7379ab5 (patch) | |
| tree | 9330b333816be80efd98ff2c23124bf7b31185c4 /compiler/optimizing/code_generator.cc | |
| parent | 5dd24d89714aeca69a3a06561d5a3687d54cf43b (diff) | |
Decrement suspend count if thread is shutting down
Prevents deadlock caused by incrementing suspend count in
SuspendThreadByPeer, then getting a cleared nativePeer field. This
resulted in us not decrementing the suspend count which caused a
deadlock in WaitForOtherNonDaemonThreadsToExit.
Bug: 18739541
Change-Id: I4a63f1823993a0f99f32025cd479072be49ba8d5
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions