diff options
author | Sebastien Hertz <shertz@google.com> | 2013-11-25 15:43:54 +0100 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2013-11-25 17:02:54 +0100 |
commit | d38667a055d507492fd05f78519a7e1f0b85ea03 (patch) | |
tree | d71f7695f0ec3f4fa5beae55a81789592b295502 /runtime/jdwp | |
parent | 2054553237998043f0cd3d6b9fef799a4e6d95c0 (diff) | |
download | art-d38667a055d507492fd05f78519a7e1f0b85ea03.zip art-d38667a055d507492fd05f78519a7e1f0b85ea03.tar.gz art-d38667a055d507492fd05f78519a7e1f0b85ea03.tar.bz2 |
Minor field name cleanup in debugger.
Use the same naming convention for all fields of DebugInvokeReq structure.
Change-Id: Ieaf65eef592f96efa47975eef15334279ed4fc8a
Diffstat (limited to 'runtime/jdwp')
-rw-r--r-- | runtime/jdwp/jdwp_event.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/jdwp/jdwp_event.cc b/runtime/jdwp/jdwp_event.cc index 61bd1ed..b05b49d 100644 --- a/runtime/jdwp/jdwp_event.cc +++ b/runtime/jdwp/jdwp_event.cc @@ -521,7 +521,7 @@ void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId * The JDWP thread has told us (and possibly all other threads) to * resume. See if it has left anything in our DebugInvokeReq mailbox. */ - if (!pReq->invoke_needed_) { + if (!pReq->invoke_needed) { /*LOGD("SuspendByPolicy: no invoke needed");*/ break; } @@ -535,12 +535,12 @@ void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId pReq->error = ERR_NONE; /* clear this before signaling */ - pReq->invoke_needed_ = false; + pReq->invoke_needed = false; VLOG(jdwp) << "invoke complete, signaling and self-suspending"; Thread* self = Thread::Current(); - MutexLock mu(self, pReq->lock_); - pReq->cond_.Signal(self); + MutexLock mu(self, pReq->lock); + pReq->cond.Signal(self); } } @@ -570,7 +570,7 @@ void JdwpState::SendRequestAndPossiblySuspend(ExpandBuf* pReq, JdwpSuspendPolicy */ bool JdwpState::InvokeInProgress() { DebugInvokeReq* pReq = Dbg::GetInvokeReq(); - return pReq->invoke_needed_; + return pReq->invoke_needed; } /* |