Lines Matching defs:JDWP
26 #include "jdwp/jdwp_priv.h"
31 namespace JDWP {
69 VLOG(jdwp) << "+++ writing to wake pipe";
112 // Only called from the JDWP thread.
118 VLOG(jdwp) << "+++ closing JDWP connection on fd " << clientSock;
147 VLOG(jdwp) << "Not sending JDWP packet: no debugger attached!";
159 PLOG(ERROR) << StringPrintf("Failed to send JDWP packet %c%c%c%c to debugger (%d of %d)",
171 VLOG(jdwp) << "Not sending JDWP packet: no debugger attached!";
178 PLOG(ERROR) << StringPrintf("Failed to send JDWP packet to debugger (%d of %d)",
201 thread_start_lock_("JDWP thread start lock", kJdwpStartLock),
202 thread_start_cond_("JDWP thread start condition variable", thread_start_lock_),
209 attach_lock_("JDWP attach lock", kJdwpAttachLock),
210 attach_cond_("JDWP attach condition variable", attach_lock_),
214 event_list_lock_("JDWP event list lock", kJdwpEventListLock),
217 event_thread_lock_("JDWP event thread lock"),
218 event_thread_cond_("JDWP event thread condition variable", event_thread_lock_),
226 * Initialize JDWP.
228 * Does not return until JDWP thread is running, but may return before
256 * debugger. Create the JDWP thread and let it continue the mission.
258 CHECK_PTHREAD_CALL(pthread_create, (&state->pthread_, NULL, StartJdwpThread, state.get()), "JDWP thread");
274 * debugger. Create the JDWP thread and let it continue the mission.
276 CHECK_PTHREAD_CALL(pthread_create, (&state->pthread_, NULL, StartJdwpThread, state.get()), "JDWP thread");
289 * The JDWP thread will signal us when it connects successfully or
299 LOG(ERROR) << "JDWP connection failed";
303 LOG(INFO) << "JDWP connected";
342 * Tell the JDWP thread to shut down. Frees "state".
353 VLOG(jdwp) << "JDWP shutting down net...";
360 LOG(WARNING) << "JDWP thread join failed";
364 VLOG(jdwp) << "JDWP freeing netstate...";
383 JDWP::Request request(netStateBase->input_buffer_, netStateBase->input_count_);
399 * Entry point for JDWP thread. The thread was created through the VM
412 CHECK(runtime->AttachCurrentThread("JDWP", true, runtime->GetSystemThreadGroup(),
415 VLOG(jdwp) << "JDWP: thread running";
537 VLOG(jdwp) << "JDWP: thread detaching and exiting...";
561 * There's no JDWP event we can post to tell the debugger, "we've stopped,
588 VLOG(jdwp) << "+++ last=busy";
596 VLOG(jdwp) << "+++ debugger interval=" << (now - last);
622 } // namespace JDWP