OSDN Git Service

Fix a deadlock in the CC collector.
authorHiroshi Yamauchi <yamauchi@google.com>
Thu, 15 Sep 2016 02:31:25 +0000 (19:31 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Fri, 16 Sep 2016 01:00:09 +0000 (18:00 -0700)
commitfebd0cf9b5070ecc54ba433b951b65e14a54ccde
tree75d96af58e255b442a45e2fa611e62851a1dc0ce
parent26ead4975e1752e8ae2f5ed6fda73876c4f9ff59
Fix a deadlock in the CC collector.

Fix a deadlock between CC GC disabling system weaks and thread attach.

See 31500969#2 for more details.

Bug: 31500969
Bug: 12687968
Test: test-art-host with CC. N9 libartd boot. Ritz EAAC.
Change-Id: Ic9a8bfb1c636643a03f4580b811fe890273576b6
runtime/gc/collector/concurrent_copying.cc
runtime/gc/collector/concurrent_copying.h
runtime/thread_list.cc
runtime/thread_list.h