OSDN Git Service

Fix thread suspension in ObjectReference.MonitorInfo JDWP command.
authorSebastien Hertz <shertz@google.com>
Wed, 19 Mar 2014 17:16:50 +0000 (18:16 +0100)
committerSebastien Hertz <shertz@google.com>
Wed, 19 Mar 2014 17:17:32 +0000 (18:17 +0100)
commit5426324ea7a4c334cde1fdc4b8aae39f8a8e362d
treea3547599de816989a9f4a8937203d1b618b0d97c
parent0d9c02e661813abdf18b4e7544e204d2da719d20
Fix thread suspension in ObjectReference.MonitorInfo JDWP command.

Uses ThreadList::SuspendAll and ThreadList::ResumeAll to suspend/resume all
the threads so we collect monitor info while all threads are suspended.

Bug: 13528439
Change-Id: I81ad0698a759cae428aa6a0149dafda3db4cd198
runtime/debugger.cc