OSDN Git Service

Avoid using ThreadList::Dump() in empty checkpoint timeout.
authorHiroshi Yamauchi <yamauchi@google.com>
Thu, 5 Jan 2017 04:32:57 +0000 (20:32 -0800)
committerHiroshi Yamauchi <yamauchi@google.com>
Fri, 6 Jan 2017 01:04:27 +0000 (17:04 -0800)
commitf612aa66a2ca38f999dae99d339abbe95ef84ff8
tree43d76297a6d19f6bd25fbeb33136ab5a1c932edc
parent18f7ef3dc0ca4404b2721b8df2597cf361cf0c11
Avoid using ThreadList::Dump() in empty checkpoint timeout.

ThreadList::Dump() that uses a checkpoint to dump threads may get
stuck when an empty checkpoint gets stuck and isn't useful when
debugging an empty checkpoint timeout. Instead, directly use
Thread::Dump() for each runnable thread that isn't responding to an
empty checkpoint request.

Bug: 33006388
Bug: 12687968
Test: test-art-host with CC.
Change-Id: If07a205786d469eec9b1f587485c80f54fb84c4d
runtime/gc/collector/concurrent_copying.cc