summaryrefslogtreecommitdiffstats
path: root/oatdump
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-03-13 17:21:25 -0700
committerMathieu Chartier <mathieuc@google.com>2015-03-13 17:32:48 -0700
commitbf9fc581e8870faddbd320a935f9a627da724c48 (patch)
tree0a4a6c21fbd4c771b06fac186d32efa6722605b2 /oatdump
parent3d96846b6adedf57be64eb3873de0ca58ec4b827 (diff)
downloadart-bf9fc581e8870faddbd320a935f9a627da724c48.zip
art-bf9fc581e8870faddbd320a935f9a627da724c48.tar.gz
art-bf9fc581e8870faddbd320a935f9a627da724c48.tar.bz2
Add more info to who called SuspendAll
Helps diagnose related jank. Change-Id: I38191cdda723c6f0355d0197c494a3dff2b6653c
Diffstat (limited to 'oatdump')
-rw-r--r--oatdump/oatdump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/oatdump/oatdump.cc b/oatdump/oatdump.cc
index 344d2b5..c27b3d4 100644
--- a/oatdump/oatdump.cc
+++ b/oatdump/oatdump.cc
@@ -1539,7 +1539,7 @@ class ImageDumper {
{
self->TransitionFromRunnableToSuspended(kNative);
ThreadList* thread_list = Runtime::Current()->GetThreadList();
- thread_list->SuspendAll();
+ thread_list->SuspendAll(__FUNCTION__);
heap->RevokeAllThreadLocalAllocationStacks(self);
thread_list->ResumeAll();
self->TransitionFromSuspendedToRunnable();