diff options
| author | 2015-06-12 10:40:56 +0000 | |
|---|---|---|
| committer | 2015-06-12 10:40:58 +0000 | |
| commit | 42361f2e8b3601813dc40d12e14c679df99a864b (patch) | |
| tree | f5a89acb10d76edc7b7d288e934b60f3c1fc6b9a /runtime/thread.h | |
| parent | 995f6e23418a1b4058167e64bbe50fd9e5dc7f02 (diff) | |
| parent | cbc5064ff05179b97b416f00ca579c55e38cd7d9 (diff) | |
Merge "JDWP: asynchronous invoke command handling"
Diffstat (limited to 'runtime/thread.h')
| -rw-r--r-- | runtime/thread.h | 11 |
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. |