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>
Wed, 3 Jun 2015 00:51:53 +0000 (17:51 -0700)
commitbf44d42d978861f33fd5978f49392db3321ae414
tree9026c1e27e713bebc3d23139dfb0263ca3435ba1
parent35d62ce1801aad45233ae72c1bd665f8709e4a6d
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.

(cherry picked from commit 77be6635f9b07a8a794924c5fb9b071949776a6d)

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