diff options
author | Elliott Hughes <enh@google.com> | 2012-04-05 15:30:42 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-04-05 15:32:07 -0700 |
commit | c628d17bad121d3c302f16de9ab47cec274a7403 (patch) | |
tree | 140fd6367e131de24de7a85a437ea35ac1046e57 /vm/Thread.cpp | |
parent | 5d31caa851d9cd3306dfc28e109eb6991c591d5e (diff) | |
download | android_dalvik-c628d17bad121d3c302f16de9ab47cec274a7403.tar.gz android_dalvik-c628d17bad121d3c302f16de9ab47cec274a7403.tar.bz2 android_dalvik-c628d17bad121d3c302f16de9ab47cec274a7403.zip |
Dump the native stacks of threads in VmWait as well Native.
Mostly these are boring, but when they're boring they're also short.
And sometimes they're interesting.
Bug: 6294717
Change-Id: I1bf9e32a5cc237efda365abe39ad84ac59fd5c8f
Diffstat (limited to 'vm/Thread.cpp')
-rw-r--r-- | vm/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/Thread.cpp b/vm/Thread.cpp index 1ced9ca62..01451f3a6 100644 --- a/vm/Thread.cpp +++ b/vm/Thread.cpp @@ -3345,7 +3345,7 @@ void dvmDumpThreadEx(const DebugOutputTarget* target, Thread* thread, dumpSchedStat(target, thread->systemTid); /* grab the native stack, if possible */ - if (thread->status == THREAD_NATIVE) { + if (thread->status == THREAD_NATIVE || thread->status == THREAD_VMWAIT) { dvmDumpNativeStack(target, thread->systemTid); } |