commit | 15af34cc172d9ae652da35a864190585cb6717a6 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Mon Sep 26 16:56:24 2016 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Tue Sep 27 10:19:12 2016 -0700 |
tree | bdf02e7dc6f0edaafff3c4164e2b1bdf2791d08a | |
parent | 35505bfe62f667cc84549b4ded81818d5ea2447e [diff] |
Fix a CC deadlock in 129-ThreadGetId. GC should consider a thread as "waiting for GC thread flip" or "transitioning to runnable" only if its suspend count is 1. See 31683379#7 for the deadlock scenario. Bug: 31683379 Bug: 12687968 Test: test-art with CC and gcstress, N9 libartd boot, Ritz EAAC. Change-Id: Icd2548bd6d9a4f8d7b54ed20150a4801af9e26a3