Lines Matching refs:state
43 JdwpNetStateBase::JdwpNetStateBase(JdwpState* state)
44 : state_(state), socket_lock_("JdwpNetStateBase lock", kJdwpSocketLock) {
116 // Resets the state so we're ready to receive a new connection.
254 std::unique_ptr<JdwpState> state(new JdwpState(options));
257 InitSocketTransport(state.get(), options);
261 InitAdbTransport(state.get(), options);
272 state->thread_start_lock_.AssertNotHeld(self);
273 MutexLock thread_start_locker(self, state->thread_start_lock_);
279 CHECK_PTHREAD_CALL(pthread_create, (&state->pthread_, nullptr, StartJdwpThread, state.get()),
285 while (!state->debug_thread_started_) {
286 state->thread_start_cond_.Wait(self);
301 MutexLock attach_locker(self, state->attach_lock_);
302 while (state->debug_thread_id_ == 0) {
303 state->attach_cond_.Wait(self);
306 if (!state->IsActive()) {
320 return state.release();
324 * Reset all session-related state. There should not be an active connection
344 LOG(WARNING) << "Resetting state while event in progress";
350 * Tell the JDWP thread to shut down. Frees "state".
441 JdwpState* state = reinterpret_cast<JdwpState*>(arg);
442 CHECK(state != nullptr);
444 state->Run();
468 /* set the thread state to kWaitingInMainDebuggerLoop so GCs don't wait for us */
545 /* broadcast the disconnect; must be in RUNNING state */
553 // Release session state, e.g. remove breakpoint instructions.
593 * suspend calls. It would be nice to just sit in the suspended state, but