Fix a bunch more lint.
(If you ignore the compilers, we've got relatively little lint now. Fits on
a single screen.)
Change-Id: I51389002894d4fd8cf46f79d2bac57079322a030
diff --git a/src/jdwp/jdwp_event.cc b/src/jdwp/jdwp_event.cc
index f398066..841ee8c 100644
--- a/src/jdwp/jdwp_event.cc
+++ b/src/jdwp/jdwp_event.cc
@@ -503,7 +503,7 @@
}
/* this is rare but possible -- see CLASS_PREPARE handling */
- if (Dbg::GetThreadSelfId() == debugThreadId) {
+ if (Dbg::GetThreadSelfId() == debug_thread_id_) {
LOG(INFO) << "NOTE: SuspendByPolicy not suspending JDWP thread";
return;
}
@@ -572,8 +572,8 @@
* If another thread is already doing stuff, wait for it. This can
* go to sleep indefinitely.
*/
- while (eventThreadId != 0) {
- VLOG(jdwp) << StringPrintf("event in progress (%#llx), %#llx sleeping", eventThreadId, threadId);
+ while (event_thread_id_ != 0) {
+ VLOG(jdwp) << StringPrintf("event in progress (%#llx), %#llx sleeping", event_thread_id_, threadId);
waited = true;
event_thread_cond_.Wait(event_thread_lock_);
}
@@ -582,7 +582,7 @@
VLOG(jdwp) << StringPrintf("event token grabbed (%#llx)", threadId);
}
if (threadId != 0) {
- eventThreadId = threadId;
+ event_thread_id_ = threadId;
}
}
@@ -597,10 +597,10 @@
*/
MutexLock mu(event_thread_lock_);
- CHECK_NE(eventThreadId, 0U);
- VLOG(jdwp) << StringPrintf("cleared event token (%#llx)", eventThreadId);
+ CHECK_NE(event_thread_id_, 0U);
+ VLOG(jdwp) << StringPrintf("cleared event token (%#llx)", event_thread_id_);
- eventThreadId = 0;
+ event_thread_id_ = 0;
event_thread_cond_.Signal();
}
@@ -722,7 +722,7 @@
* while doing so. (I don't think we currently do this at all, so
* this is mostly paranoia.)
*/
- if (basket.threadId == debugThreadId) {
+ if (basket.threadId == debug_thread_id_) {
VLOG(jdwp) << "Ignoring location event in JDWP thread";
return false;
}
@@ -1018,7 +1018,7 @@
suspend_policy = scanSuspendPolicy(match_list, match_count);
VLOG(jdwp) << " suspend_policy=" << suspend_policy;
- if (basket.threadId == debugThreadId) {
+ if (basket.threadId == debug_thread_id_) {
/*
* JDWP says that, for a class prep in the debugger thread, we
* should set threadId to null and if any threads were supposed
@@ -1106,7 +1106,7 @@
* Make sure we're in VMWAIT in case the write blocks.
*/
int old_state = Dbg::ThreadWaiting();
- (*transport->sendBufferedRequest)(this, wrapiov, iov_count + 1);
+ (*transport_->sendBufferedRequest)(this, wrapiov, iov_count + 1);
Dbg::ThreadContinuing(old_state);
}