/art/runtime/ |
debugger.h | 18 * Dalvik-specific side of debugger support. (The JDWP code is intended to 32 #include "jdwp/jdwp.h" 57 DebugInvokeReq(uint32_t invoke_request_id, JDWP::ObjectId invoke_thread_id, 63 options(invoke_options), reply(JDWP::expandBufAlloc()) { 67 JDWP::expandBufFree(reply); 72 const JDWP::ObjectId thread_id; 82 JDWP::ExpandBuf* const reply; 94 SingleStepControl(JDWP::JdwpStepSize step_size, JDWP::JdwpStepDepth step_depth [all...] |
debugger.cc | 35 #include "jdwp/jdwp_priv.h" 36 #include "jdwp/object_registry.h" 248 // going to be called right after us. To avoid sending JDWP events twice for this location, 256 // sending JDWP events twice for this location, we report the event(s) in MethodExited. 298 // JDWP events in the same packet: METHOD_ENTRY, METHOD_EXIT, BREAKPOINT and/or SINGLE_STEP. 360 // JDWP is allowed unless the Zygote forbids it. 363 // Was there a -Xrunjdwp or -agentlib:jdwp= argument on the command line? 366 // JDWP options for debugging. Only valid if IsJdwpConfigured() is true. 367 static JDWP::JdwpOptions gJdwpOptions; 369 // Runtime JDWP state [all...] |
runtime_options.def | 44 RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions)
|
parsed_options.cc | 92 .Define({"-Xrunjdwp:_", "-agentlib:jdwp=_"}) 93 .WithType<JDWP::JdwpOptions>() 380 // gLogVerbosity.jdwp = true; // TODO: don't check this in! 586 UsageMessage(stream, " -agentlib:jdwp=options\n");
|
/art/runtime/jdwp/ |
object_registry.h | 27 #include "jdwp/jdwp.h" 48 JDWP::ObjectId id; 65 JDWP::ObjectId Add(mirror::Object* o) 70 JDWP::RefTypeId AddRefType(mirror::Class* c) 76 JDWP::ObjectId Add(Handle<T> obj_h) 81 JDWP::RefTypeId AddRefType(Handle<mirror::Class> c_h) 86 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error) 89 *error = JDWP::ERR_NONE [all...] |
object_registry.cc | 38 JDWP::RefTypeId ObjectRegistry::AddRefType(mirror::Class* c) { 42 JDWP::RefTypeId ObjectRegistry::AddRefType(Handle<mirror::Class> c_h) { 46 JDWP::ObjectId ObjectRegistry::Add(mirror::Object* o) { 57 JDWP::ObjectId ObjectRegistry::Add(Handle<T> obj_h) { 68 JDWP::ObjectId ObjectRegistry::Add(Handle<mirror::Object> obj_h); 73 JDWP::ObjectId ObjectRegistry::Add(Handle<mirror::Throwable> obj_h); 76 JDWP::ObjectId ObjectRegistry::InternalAdd(Handle<T> obj_h) { 144 // 2. JDWP thread takes mutator lock exclusively after suspending all 146 // 3. GC thread waits for shared mutator lock which is held by JDWP 148 // 4. JDWP thread clears weak global references but need to wait for G [all...] |
jdwp_expand_buf.h | 29 namespace JDWP { 66 } // namespace JDWP
|
jdwp_event.h | 22 #include "jdwp/jdwp.h" 23 #include "jdwp/jdwp_constants.h" 24 #include "jdwp/jdwp_expand_buf.h" 28 namespace JDWP { 109 } // namespace JDWP
|
jdwp_event.cc | 17 #include "jdwp/jdwp_event.h" 29 #include "jdwp/jdwp_constants.h" 30 #include "jdwp/jdwp_expand_buf.h" 31 #include "jdwp/jdwp_priv.h" 32 #include "jdwp/object_registry.h" 47 Event posting can happen from any thread. The JDWP thread will not usually 48 post anything but VM start/death, but if a JDWP request causes a class 49 to be loaded, the ClassPrepare event will come from the JDWP thread. 72 JDWP thread: 93 holding the event token is very bad, because it prevents the JDWP threa [all...] |
jdwp_priv.h | 17 * JDWP internal interfaces. 23 #include "jdwp/jdwp.h" 24 #include "jdwp/jdwp_event.h" 30 * JDWP constants. 41 static constexpr const char kMagicHandshake[] = "JDWP-Handshake"; 61 namespace JDWP { 117 // Are we waiting for the JDWP handshake? 121 } // namespace JDWP
|
jdwp_handler.cc | 29 #include "jdwp/jdwp_constants.h" 30 #include "jdwp/jdwp_event.h" 31 #include "jdwp/jdwp_expand_buf.h" 32 #include "jdwp/jdwp_priv.h" 39 namespace JDWP { 92 VLOG(jdwp) << StringPrintf(" --> thread_id=%#" PRIx64 " object_id=%#" PRIx64, 94 VLOG(jdwp) << StringPrintf(" class_id=%#" PRIx64 " method_id=%#" PRIx64 " %s.%s", 97 VLOG(jdwp) << StringPrintf(" %d args:", arg_count); 105 VLOG(jdwp) << " " << argTypes[i] << StringPrintf("(%zd): %#" PRIx64, width, 110 VLOG(jdwp) << StringPrintf(" options=0x%04x%s%s", options [all...] |
jdwp_bits.h | 29 namespace JDWP { 120 } // namespace JDWP
|
jdwp_constants.h | 17 * These come out of the JDWP documentation. 26 namespace JDWP { 130 EK_VM_DISCONNECTED = 100, // "Never sent across JDWP". 245 } // namespace JDWP
|
jdwp_expand_buf.cc | 18 * primitive values, e.g. JDWP replies. 21 #include "jdwp/jdwp_expand_buf.h" 27 #include "jdwp/jdwp.h" 28 #include "jdwp/jdwp_bits.h" 32 namespace JDWP { 186 } // namespace JDWP
|
jdwp_request.cc | 17 #include "jdwp/jdwp.h" 22 #include "jdwp/jdwp_priv.h" 26 namespace JDWP { 60 VLOG(jdwp) << " string \"" << s << "\""; 79 VLOG(jdwp) << " " << what << " " << value; 85 VLOG(jdwp) << " " << what << " " << value; 91 VLOG(jdwp) << " field id " << DescribeField(id); 97 VLOG(jdwp) << " method id " << DescribeMethod(id); 103 VLOG(jdwp) << StringPrintf(" %s id %#" PRIx64, specific_kind, id) [all...] |
jdwp.h | 22 #include "jdwp/jdwp_bits.h" 23 #include "jdwp/jdwp_constants.h" 24 #include "jdwp/jdwp_expand_buf.h" 48 namespace JDWP { 82 * Holds a JDWP "location". 121 * State for JDWP functions. 143 * Returns the Thread* for the JDWP daemon thread. 154 // Acquires/releases the JDWP synchronization token for the debugger 161 // Acquires/releases the JDWP synchronization token for the event thread 179 * JDWP support thread) to be suspended [all...] |
jdwp_main.cc | 27 #include "jdwp/jdwp_priv.h" 32 namespace JDWP { 70 VLOG(jdwp) << "+++ writing to wake pipe"; 113 // Only called from the JDWP thread. 119 VLOG(jdwp) << "+++ closing JDWP connection on fd " << clientSock; 156 VLOG(jdwp) << "Not sending JDWP packet: no debugger attached!"; 168 PLOG(ERROR) << StringPrintf("Failed to send JDWP packet %c%c%c%c to debugger (%zd of %zu)", 180 VLOG(jdwp) << "Not sending JDWP packet: no debugger attached!" [all...] |
jdwp_adb.cc | 25 #include "jdwp/jdwp_priv.h" 32 * The JDWP <-> ADB transport protocol is explained in detail 35 * 1/ when the JDWP thread starts, it tries to connect to a Unix 36 * domain stream socket (@jdwp-control) that is opened by the 44 * a given JDWP debugger, that can be used to read the usual 45 * JDWP-handshake, etc... 48 #define kJdwpControlName "\0jdwp-control" 53 namespace JDWP { 120 * runs in the main thread, before the JDWP thread starts, so it shouldn't 124 VLOG(jdwp) << "ADB transport startup" [all...] |
jdwp_socket.cc | 31 #include "jdwp/jdwp_priv.h" 38 namespace JDWP { 41 * JDWP network state. 86 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")"; 94 LOG(INFO) << "JDWP will wait for debugger on port " << port; 96 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port; 103 * Initialize JDWP stuff. 164 * Shut down JDWP listener. Don't free state. 166 * This may be called from a non-JDWP thread as part of shutting the 167 * JDWP thread down [all...] |
/art/runtime/native/ |
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 122 JDWP::Append4BE(bytes, t->GetThreadId()); 123 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); 124 JDWP::Append4BE(bytes, t->GetTid()); 125 JDWP::Append4BE(bytes, utime); 126 JDWP::Append4BE(bytes, stime); 127 JDWP::Append1BE(bytes, t->IsDaemon()); 140 JDWP::Append1BE(bytes, kThstHeaderLen); 141 JDWP::Append1BE(bytes, kThstBytesPerEntry); 142 JDWP::Append2BE(bytes, thread_count);
|
/art/cmdline/ |
cmdline_parser_test.cc | 225 "class,compiler,gc,heap,jdwp,jni,monitor,profiler,signals,startup,third-party-jni," 233 log_verbosity.jdwp = true; 248 "class,compiler,gc,heap,jdwp,jni,monitor"; 255 log_verbosity.jdwp = true; 323 * {"-Xrunjdwp:_", "-agentlib:jdwp=_"} 333 JDWP::JdwpOptions opt = JDWP::JdwpOptions(); 334 opt.transport = JDWP::JdwpTransportType::kJdwpTransportSocket; 345 * "Example: -agentlib:jdwp=transport=dt_socket,address=localhost:6500,server=n\n"); 347 JDWP::JdwpOptions opt = JDWP::JdwpOptions() [all...] |
cmdline_types.h | 28 #include "jdwp/jdwp.h" 59 struct CmdlineType<JDWP::JdwpOptions> : CmdlineTypeParser<JDWP::JdwpOptions> { 61 * Handle one of the JDWP name/value pairs. 63 * JDWP options are: 78 VLOG(jdwp) << "ParseJdwpOptions: " << options; 91 JDWP::JdwpOptions jdwp_options; 97 "Can't parse JDWP option '" + jdwp_option + "' in '" + options + "'"); 104 // We fail to parse this JDWP option [all...] |
/external/apache-harmony/jdwp/ |
Android.mk | 12 # Common JDWP settings 37 LOCAL_CTS_TEST_PACKAGE := android.jdwp 45 LOCAL_MODULE := apache-harmony-jdwp-tests 48 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/jdwp 54 LOCAL_MODULE := apache-harmony-jdwp-tests-host 61 LOCAL_MODULE := apache-harmony-jdwp-tests-hostdex
|
/art/runtime/hprof/ |
hprof.cc | 54 #include "jdwp/jdwp.h" 55 #include "jdwp/jdwp_priv.h" 388 NetStateEndianOutput(JDWP::JdwpNetStateBase* net_state, size_t reserved_size) 404 JDWP::JdwpNetStateBase* net_state_; 699 JDWP::JdwpState* state = Dbg::GetJdwpState(); 701 JDWP::JdwpNetStateBase* net_state = state->netState; [all...] |
/art/test/ |
Android.run-test.mk | 278 # very hard to write here, as (for a complete test) JDWP must be set up. [all...] |