OSDN Git Service

Do less work holding thread list lock
authorMathieu Chartier <mathieuc@google.com>
Tue, 19 Apr 2016 20:46:03 +0000 (13:46 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 19 Apr 2016 20:49:03 +0000 (13:49 -0700)
commitdee19e3caaeb5666055842d656dc0516b901f30c
tree76bd7b59db2d8fa82f5e4a5286b1a099dc3d57f8
parentd19dc4688b5b93f149d45435deb0a67217464e37
Do less work holding thread list lock

Avoid doing stuff that requires access java heap like PrettyMethod.
Fixes lock violation.

Bug: 28268478
Change-Id: Ie090879690df7a6db15a9c8b7e82f3809450d653
runtime/monitor.cc
runtime/monitor.h