summaryrefslogtreecommitdiff
path: root/runtime/thread.h
diff options
context:
space:
mode:
author Sebastien Hertz <shertz@google.com> 2015-06-12 10:40:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-06-12 10:40:58 +0000
commit42361f2e8b3601813dc40d12e14c679df99a864b (patch)
treef5a89acb10d76edc7b7d288e934b60f3c1fc6b9a /runtime/thread.h
parent995f6e23418a1b4058167e64bbe50fd9e5dc7f02 (diff)
parentcbc5064ff05179b97b416f00ca579c55e38cd7d9 (diff)
Merge "JDWP: asynchronous invoke command handling"
Diffstat (limited to 'runtime/thread.h')
-rw-r--r--runtime/thread.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/runtime/thread.h b/runtime/thread.h
index 9311bef48a..0e71c08b07 100644
--- a/runtime/thread.h
+++ b/runtime/thread.h
@@ -781,15 +781,14 @@ class Thread {
void DeactivateSingleStepControl();
// Sets debug invoke request for debugging. When the thread is resumed,
- // it executes the method described by this request then suspends itself.
- // The thread does not take ownership of the given DebugInvokeReq*, it is
- // owned by the JDWP thread which is waiting for the execution of the
- // method.
+ // it executes the method described by this request then sends the reply
+ // before suspending itself. The thread takes the ownership of the given
+ // DebugInvokeReq*. It is deleted by a call to ClearDebugInvokeReq.
void SetDebugInvokeReq(DebugInvokeReq* req);
// Clears debug invoke request for debugging. When the thread completes
- // method invocation, it clears its debug invoke request, signals the
- // JDWP thread and suspends itself.
+ // method invocation, it deletes its debug invoke request and suspends
+ // itself.
void ClearDebugInvokeReq();
// Returns the fake exception used to activate deoptimization.