summaryrefslogtreecommitdiff
path: root/runtime/debugger.h
diff options
context:
space:
mode:
author Sebastien Hertz <shertz@google.com> 2014-10-24 07:49:38 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-10-24 07:49:38 +0000
commit02567379e7099682345fd59d45a23e17711c9ddd (patch)
treeafab6024db00d1efb6236fadef9886aefe470973 /runtime/debugger.h
parenta1e50cab308af9f9a94e8bd370111eeff5634914 (diff)
parent253fa555d9424a56c52879449eabe73d5c96cf61 (diff)
Merge "Fix JDWP Virtualmachine.Resume command"
Diffstat (limited to 'runtime/debugger.h')
-rw-r--r--runtime/debugger.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/debugger.h b/runtime/debugger.h
index cb7adae47a..48e457fc6f 100644
--- a/runtime/debugger.h
+++ b/runtime/debugger.h
@@ -246,7 +246,9 @@ class Dbg {
*/
static int64_t LastDebuggerActivity();
- static void UndoDebuggerSuspensions();
+ static void UndoDebuggerSuspensions()
+ LOCKS_EXCLUDED(Locks::thread_list_lock_,
+ Locks::thread_suspend_count_lock_);
/*
* Class, Object, Array
@@ -459,7 +461,9 @@ class Dbg {
static void SuspendVM()
LOCKS_EXCLUDED(Locks::thread_list_lock_,
Locks::thread_suspend_count_lock_);
- static void ResumeVM();
+ static void ResumeVM()
+ LOCKS_EXCLUDED(Locks::thread_list_lock_,
+ Locks::thread_suspend_count_lock_);
static JDWP::JdwpError SuspendThread(JDWP::ObjectId thread_id, bool request_suspension = true)
LOCKS_EXCLUDED(Locks::mutator_lock_,
Locks::thread_list_lock_,