summaryrefslogtreecommitdiffstats
path: root/vm/Thread.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-03-16 08:53:15 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-03-16 08:53:15 -0700
commit5be15f653e0b9750be1655393849c37d616966ba (patch)
tree14e17def1a9d116763eb7cb7b0641367393374ff /vm/Thread.h
parent980ffb0243a1840ad0a93cfa06dfc02ca6f2d01c (diff)
parentf8a44e85b2beed31f0cb1688ac6bdc08bc37ece1 (diff)
downloadandroid_dalvik-5be15f653e0b9750be1655393849c37d616966ba.tar.gz
android_dalvik-5be15f653e0b9750be1655393849c37d616966ba.tar.bz2
android_dalvik-5be15f653e0b9750be1655393849c37d616966ba.zip
am f8a44e85: Merge "Point debuggerd at the interesting thread."
Merge commit 'f8a44e85b2beed31f0cb1688ac6bdc08bc37ece1' into dalvik-dev * commit 'f8a44e85b2beed31f0cb1688ac6bdc08bc37ece1': Point debuggerd at the interesting thread.
Diffstat (limited to 'vm/Thread.h')
-rw-r--r--vm/Thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm/Thread.h b/vm/Thread.h
index 082c7d303..a7edb42d0 100644
--- a/vm/Thread.h
+++ b/vm/Thread.h
@@ -523,6 +523,12 @@ void dvmDumpThreadEx(const DebugOutputTarget* target, Thread* thread,
void dvmDumpAllThreads(bool grabLock);
void dvmDumpAllThreadsEx(const DebugOutputTarget* target, bool grabLock);
+/*
+ * Debug: kill a thread to get a debuggerd stack trace. Leaves the VM
+ * in an uncertain state.
+ */
+void dvmNukeThread(Thread* thread);
+
#ifdef WITH_MONITOR_TRACKING
/*
* Track locks held by the current thread, along with the stack trace at