/art/runtime/jdwp/ |
D | jdwp_event.cc | 790 ObjectId thread_id) in LogMatchingEventsAndThread() argument 798 JdwpError error = Dbg::GetThreadName(thread_id, thread_name); in LogMatchingEventsAndThread() 802 VLOG(jdwp) << StringPrintf(" thread=%#" PRIx64, thread_id) << " " << thread_name; in LogMatchingEventsAndThread() 876 ObjectId thread_id = 0; in PostLocationEvent() local 898 thread_id = Dbg::GetThreadId(basket.thread); in PostLocationEvent() 903 LogMatchingEventsAndThread(match_list, match_count, thread_id); in PostLocationEvent() 915 expandBufAdd8BE(pReq, thread_id); in PostLocationEvent() 931 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); in PostLocationEvent() 960 ObjectId thread_id = 0; in PostFieldEvent() local 974 thread_id = Dbg::GetThreadId(basket.thread); in PostFieldEvent() [all …]
|
D | jdwp_handler.cc | 95 ObjectId thread_id, ObjectId object_id, in FinishInvoke() argument 103 thread_id, object_id); in FinishInvoke() 127 …JdwpError err = Dbg::InvokeMethod(thread_id, object_id, class_id, method_id, arg_count, argValues.… in FinishInvoke() 691 ObjectId thread_id = request.ReadThreadId(); in CT_InvokeMethod() local 694 return FinishInvoke(state, request, pReply, thread_id, 0, class_id, method_id, false); in CT_InvokeMethod() 707 ObjectId thread_id = request.ReadThreadId(); in CT_NewInstance() local 718 return FinishInvoke(state, request, pReply, thread_id, object_id, class_id, method_id, true); in CT_NewInstance() 876 ObjectId thread_id = request.ReadThreadId(); in OR_InvokeMethod() local 880 return FinishInvoke(state, request, pReply, thread_id, object_id, class_id, method_id, false); in OR_InvokeMethod() 945 ObjectId thread_id = request.ReadThreadId(); in TR_Name() local [all …]
|
/art/runtime/ |
D | lock_word.h | 85 static LockWord FromThinLockId(uint32_t thread_id, uint32_t count) { in FromThinLockId() argument 86 CHECK_LE(thread_id, static_cast<uint32_t>(kThinLockOwnerMask)); in FromThinLockId() 87 return LockWord((thread_id << kThinLockOwnerShift) | (count << kThinLockCountShift) | in FromThinLockId()
|
D | debugger.h | 330 static JDWP::JdwpError GetOwnedMonitors(JDWP::ObjectId thread_id, 335 static JDWP::JdwpError GetContendedMonitor(JDWP::ObjectId thread_id, 417 static JDWP::JdwpError GetThreadName(JDWP::ObjectId thread_id, std::string& name) 420 static JDWP::JdwpError GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) 436 static JDWP::JdwpError GetThreadStatus(JDWP::ObjectId thread_id, 440 static JDWP::JdwpError GetThreadDebugSuspendCount(JDWP::ObjectId thread_id, 452 static JDWP::JdwpError GetThreadFrameCount(JDWP::ObjectId thread_id, size_t& result) 454 static JDWP::JdwpError GetThreadFrames(JDWP::ObjectId thread_id, size_t start_frame, 468 static JDWP::JdwpError SuspendThread(JDWP::ObjectId thread_id, bool request_suspension = true) 473 static void ResumeThread(JDWP::ObjectId thread_id) [all …]
|
D | gc_root.h | 49 explicit RootInfo(RootType type, uint32_t thread_id = 0) 50 : type_(type), thread_id_(thread_id) { in type_()
|
D | monitor.cc | 723 uint32_t thread_id = self->GetThreadId(); in MonitorEnter() local 731 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0)); in MonitorEnter() 740 if (owner_thread_id == thread_id) { in MonitorEnter() 744 LockWord thin_locked(LockWord::FromThinLockId(thread_id, new_count)); in MonitorEnter() 799 uint32_t thread_id = self->GetThreadId(); in MonitorExit() local 801 if (owner_thread_id != thread_id) { in MonitorExit() 811 LockWord thin_locked(LockWord::FromThinLockId(thread_id, new_count)); in MonitorExit() 846 uint32_t thread_id = self->GetThreadId(); in Wait() local 848 if (owner_thread_id != thread_id) { in Wait() 881 uint32_t thread_id = self->GetThreadId(); in DoNotify() local [all …]
|
D | debugger.cc | 434 static JDWP::JdwpError DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, Thr… in DecodeThread() argument 438 mirror::Object* thread_peer = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_id); in DecodeThread() 949 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, in GetOwnedMonitors() argument 986 JDWP::JdwpError error = DecodeThread(soa, thread_id, thread); in GetOwnedMonitors() 1000 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, in GetContendedMonitor() argument 1007 JDWP::JdwpError error = DecodeThread(soa, thread_id, thread); in GetContendedMonitor() 1972 JDWP::JdwpError Dbg::GetThreadName(JDWP::ObjectId thread_id, std::string& name) { in GetThreadName() argument 1976 JDWP::JdwpError error = DecodeThread(soa, thread_id, thread); in GetThreadName() 1982 mirror::Object* thread_object = gRegistry->Get<mirror::Object*>(thread_id); in GetThreadName() 1993 JDWP::JdwpError Dbg::GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) { in GetThreadGroup() argument [all …]
|
D | thread_list.cc | 528 static void ThreadSuspendByThreadIdWarning(int level, const char* message, uint32_t thread_id) { in ThreadSuspendByThreadIdWarning() argument 529 LOG(level) << StringPrintf("%s: %d", message, thread_id); in ThreadSuspendByThreadIdWarning() 532 Thread* ThreadList::SuspendThreadByThreadId(uint32_t thread_id, bool debug_suspension, in SuspendThreadByThreadId() argument 540 CHECK_NE(thread_id, kInvalidThreadId); in SuspendThreadByThreadId() 553 if (it->GetThreadId() == thread_id) { in SuspendThreadByThreadId() 562 ThreadSuspendByThreadIdWarning(WARNING, "No such thread id for suspend", thread_id); in SuspendThreadByThreadId() 590 ThreadSuspendByThreadIdWarning(WARNING, "Thread suspension timed out", thread_id); in SuspendThreadByThreadId()
|
D | thread.cc | 1318 void Thread::HandleScopeVisitRoots(RootCallback* visitor, void* arg, uint32_t thread_id) { in HandleScopeVisitRoots() argument 1325 visitor(&object, arg, RootInfo(kRootNativeStack, thread_id)); in HandleScopeVisitRoots() 2190 uint32_t thread_id = GetThreadId(); in VisitRoots() local 2192 visitor(&tlsPtr_.opeer, arg, RootInfo(kRootThreadObject, thread_id)); in VisitRoots() 2196 RootInfo(kRootNativeStack, thread_id)); in VisitRoots() 2201 RootInfo(kRootNativeStack, thread_id)); in VisitRoots() 2204 visitor(&tlsPtr_.monitor_enter_object, arg, RootInfo(kRootNativeStack, thread_id)); in VisitRoots() 2206 tlsPtr_.jni_env->locals.VisitRoots(visitor, arg, RootInfo(kRootJNILocal, thread_id)); in VisitRoots() 2207 tlsPtr_.jni_env->monitors.VisitRoots(visitor, arg, RootInfo(kRootJNIMonitor, thread_id)); in VisitRoots() 2208 HandleScopeVisitRoots(visitor, arg, thread_id); in VisitRoots() [all …]
|
D | thread_list.h | 81 Thread* SuspendThreadByThreadId(uint32_t thread_id, bool debug_suspension, bool* timed_out)
|
D | stack.h | 403 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) in JavaFrameRootInfo() argument 404 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) { in JavaFrameRootInfo()
|
D | thread.h | 681 void HandleScopeVisitRoots(RootCallback* visitor, void* arg, uint32_t thread_id)
|