From d38667a055d507492fd05f78519a7e1f0b85ea03 Mon Sep 17 00:00:00 2001 From: Sebastien Hertz Date: Mon, 25 Nov 2013 15:43:54 +0100 Subject: Minor field name cleanup in debugger. Use the same naming convention for all fields of DebugInvokeReq structure. Change-Id: Ieaf65eef592f96efa47975eef15334279ed4fc8a --- runtime/jdwp/jdwp_event.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'runtime/jdwp') 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; } /* -- cgit v1.1