/art/runtime/jdwp/ |
H A D | jdwp_event.cc | 785 ObjectId thread_id) 793 JdwpError error = Dbg::GetThreadName(thread_id, &thread_name); 797 VLOG(jdwp) << StringPrintf(" thread=%#" PRIx64, thread_id) << " " << thread_name; 891 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 896 LogMatchingEventsAndThread(match_list, thread_id); 908 expandBufAddObjectId(pReq, thread_id); 922 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); 953 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 962 LogMatchingEventsAndThread(match_list, thread_id); 989 expandBufAddObjectId(pReq, thread_id); 1046 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 1136 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 1209 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local [all...] |
H A D | jdwp_handler.cc | 86 ObjectId thread_id, ObjectId object_id, 93 VLOG(jdwp) << StringPrintf(" --> thread_id=%#" PRIx64 " object_id=%#" PRIx64, 94 thread_id, object_id); 115 JDWP::JdwpError error = Dbg::PrepareInvokeMethod(request->GetId(), thread_id, object_id, 646 ObjectId thread_id = request->ReadThreadId(); local 649 return RequestInvoke(state, request, thread_id, 0, class_id, method_id, false); 663 ObjectId thread_id = request->ReadThreadId(); local 671 return RequestInvoke(state, request, thread_id, object_id, class_id, method_id, true); 699 ObjectId thread_id = request->ReadThreadId(); local 702 return RequestInvoke(state, request, thread_id, 849 ObjectId thread_id = request->ReadThreadId(); local 918 ObjectId thread_id = request->ReadThreadId(); local 939 ObjectId thread_id = request->ReadThreadId(); local 957 ObjectId thread_id = request->ReadThreadId(); local 973 ObjectId thread_id = request->ReadThreadId(); local 995 ObjectId thread_id = request->ReadThreadId(); local 1007 ObjectId thread_id = request->ReadThreadId(); local 1039 ObjectId thread_id = request->ReadThreadId(); local 1053 ObjectId thread_id = request->ReadThreadId(); local 1087 ObjectId thread_id = request->ReadThreadId(); local 1099 ObjectId thread_id = request->ReadThreadId(); local 1111 ObjectId thread_id = request->ReadThreadId(); local 1249 ObjectId thread_id = request->ReadThreadId(); local 1305 ObjectId thread_id = request->ReadThreadId(); local 1379 ObjectId thread_id = request->ReadThreadId(); local [all...] |
/art/runtime/ |
H A D | debugger.h | 59 : request_id(invoke_request_id), thread_id(invoke_thread_id), receiver(invoke_receiver), 70 const JDWP::ObjectId thread_id; member in struct:art::DebugInvokeReq 335 static JDWP::JdwpError GetOwnedMonitors(JDWP::ObjectId thread_id, 339 static JDWP::JdwpError GetContendedMonitor(JDWP::ObjectId thread_id, 420 static JDWP::JdwpError GetThreadName(JDWP::ObjectId thread_id, std::string* name) 422 static JDWP::JdwpError GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) 437 static JDWP::JdwpError GetThreadStatus(JDWP::ObjectId thread_id, 441 static JDWP::JdwpError GetThreadDebugSuspendCount(JDWP::ObjectId thread_id, 444 // static void WaitForSuspend(JDWP::ObjectId thread_id); 451 static JDWP::JdwpError GetThreadFrameCount(JDWP::ObjectId thread_id, size_ [all...] |
H A D | lock_word.h | 111 static LockWord FromThinLockId(uint32_t thread_id, uint32_t count, uint32_t rb_state) { argument 112 CHECK_LE(thread_id, static_cast<uint32_t>(kThinLockMaxOwner)); 115 return LockWord((thread_id << kThinLockOwnerShift) | (count << kThinLockCountShift) |
|
H A D | thread_list.cc | 836 uint32_t thread_id) { 837 LOG(severity) << StringPrintf("%s: %d", message, thread_id); 840 Thread* ThreadList::SuspendThreadByThreadId(uint32_t thread_id, argument 848 CHECK_NE(thread_id, kInvalidThreadId); 861 if (it->GetThreadId() == thread_id) { 870 ThreadSuspendByThreadIdWarning(WARNING, "No such thread id for suspend", thread_id); 904 name.c_str(), thread_id).c_str()); 911 ThreadSuspendByThreadIdWarning(WARNING, "Thread suspension timed out", thread_id); 932 Thread* ThreadList::FindThreadByThreadId(uint32_t thread_id) { argument 934 if (thread->GetThreadId() == thread_id) { 834 ThreadSuspendByThreadIdWarning(LogSeverity severity, const char* message, uint32_t thread_id) argument [all...] |
H A D | monitor.cc | 871 uint32_t thread_id = self->GetThreadId(); local 879 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.ReadBarrierState())); 889 if (owner_thread_id == thread_id) { 893 LockWord thin_locked(LockWord::FromThinLockId(thread_id, new_count, 968 uint32_t thread_id = self->GetThreadId(); local 970 if (owner_thread_id != thread_id) { 971 FailedUnlock(h_obj.Get(), thread_id, owner_thread_id, nullptr); 978 new_lw = LockWord::FromThinLockId(thread_id, new_count, lock_word.ReadBarrierState()); 1024 uint32_t thread_id = self->GetThreadId(); local 1026 if (owner_thread_id != thread_id) { 1059 uint32_t thread_id = self->GetThreadId(); local [all...] |
H A D | debugger.cc | 380 static Thread* DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, 384 mirror::Object* thread_peer = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_id, error); 820 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, argument 857 Thread* thread = DecodeThread(soa, thread_id, &error); 870 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, argument 875 Thread* thread = DecodeThread(soa, thread_id, &error); 1975 JDWP::JdwpError Dbg::GetThreadName(JDWP::ObjectId thread_id, std::string* name) { argument 1978 DecodeThread(soa, thread_id, &error); 1984 mirror::Object* thread_object = gRegistry->Get<mirror::Object*>(thread_id, &error); 1996 JDWP::JdwpError Dbg::GetThreadGroup(JDWP::ObjectId thread_id, JDW argument 2189 GetThreadStatus(JDWP::ObjectId thread_id, JDWP::JdwpThreadStatus* pThreadStatus, JDWP::JdwpSuspendStatus* pSuspendStatus) argument 2213 GetThreadDebugSuspendCount(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) argument 2225 Interrupt(JDWP::ObjectId thread_id) argument 2304 GetThreadFrameCount(JDWP::ObjectId thread_id, size_t* result) argument 2319 GetThreadFrames(JDWP::ObjectId thread_id, size_t start_frame, size_t frame_count, JDWP::ExpandBuf* buf) argument 2391 SuspendThread(JDWP::ObjectId thread_id, bool request_suspension) argument 2416 ResumeThread(JDWP::ObjectId thread_id) argument 2466 GetThisObject(JDWP::ObjectId thread_id, JDWP::FrameId frame_id, JDWP::ObjectId* result) argument 2522 JDWP::ObjectId thread_id = request->ReadThreadId(); local 2693 JDWP::ObjectId thread_id = request->ReadThreadId(); local 3680 ConfigureStep(JDWP::ObjectId thread_id, JDWP::JdwpStepSize step_size, JDWP::JdwpStepDepth step_depth) argument 3807 UnconfigureStep(JDWP::ObjectId thread_id) argument 3845 PrepareInvokeMethod(uint32_t request_id, JDWP::ObjectId thread_id, JDWP::ObjectId object_id, JDWP::RefTypeId class_id, JDWP::MethodId method_id, uint32_t arg_count, uint64_t arg_values[], JDWP::JdwpTag* arg_types, uint32_t options) argument [all...] |
H A D | gc_root.h | 61 explicit RootInfo(RootType type, uint32_t thread_id = 0) 62 : type_(type), thread_id_(thread_id) { 74 os << "Type=" << type_ << " thread_id=" << thread_id_;
|
H A D | thread_list.h | 87 Thread* SuspendThreadByThreadId(uint32_t thread_id, bool debug_suspension, bool* timed_out) 93 Thread* FindThreadByThreadId(uint32_t thread_id) REQUIRES(Locks::thread_list_lock_);
|
H A D | thread.cc | 1866 void Thread::HandleScopeVisitRoots(RootVisitor* visitor, uint32_t thread_id) { argument 1868 visitor, RootInfo(kRootNativeStack, thread_id)); 2824 const uint32_t thread_id = GetThreadId(); local 2825 visitor->VisitRootIfNonNull(&tlsPtr_.opeer, RootInfo(kRootThreadObject, thread_id)); 2828 RootInfo(kRootNativeStack, thread_id)); 2830 visitor->VisitRootIfNonNull(&tlsPtr_.monitor_enter_object, RootInfo(kRootNativeStack, thread_id)); 2831 tlsPtr_.jni_env->locals.VisitRoots(visitor, RootInfo(kRootJNILocal, thread_id)); 2832 tlsPtr_.jni_env->monitors.VisitRoots(visitor, RootInfo(kRootJNIMonitor, thread_id)); 2833 HandleScopeVisitRoots(visitor, thread_id); 2835 tlsPtr_.debug_invoke_req->VisitRoots(visitor, RootInfo(kRootDebugger, thread_id)); [all...] |
H A D | stack.h | 474 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) argument 475 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) {
|
H A D | thread.h | 776 void HandleScopeVisitRoots(RootVisitor* visitor, uint32_t thread_id)
|