OSDN Git Service

Add a way to SuspendAll for a long duration
authorMathieu Chartier <mathieuc@google.com>
Tue, 2 Jun 2015 18:42:18 +0000 (11:42 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 2 Jun 2015 18:42:18 +0000 (11:42 -0700)
commit77be6635f9b07a8a794924c5fb9b071949776a6d
treea15297dc180b530a6885774311f756aef00f66d8
parent2791d5e66f6c802147e2f9275b94b5ca995c396f
Add a way to SuspendAll for a long duration

Hprof uses this mode to not cause thread suspend timeouts if GC tries
while the hprof dump is running.

Bug: 21063989
Change-Id: Ic6304620afd1489719a7e0e4299f829c90fe27cc
runtime/hprof/hprof.cc
runtime/thread_list.cc
runtime/thread_list.h