Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 12 of 12) sorted by relevance

/art/runtime/jdwp/
Djdwp_handler.cc85 ObjectId thread_id, ObjectId object_id, in RequestInvoke() argument
93 thread_id, object_id); in RequestInvoke()
114 JDWP::JdwpError error = Dbg::PrepareInvokeMethod(request->GetId(), thread_id, object_id, in RequestInvoke()
646 ObjectId thread_id = request->ReadThreadId(); in CT_InvokeMethod() local
649 return RequestInvoke(state, request, thread_id, 0, class_id, method_id, false); in CT_InvokeMethod()
663 ObjectId thread_id = request->ReadThreadId(); in CT_NewInstance() local
671 return RequestInvoke(state, request, thread_id, object_id, class_id, method_id, true); in CT_NewInstance()
827 ObjectId thread_id = request->ReadThreadId(); in OR_InvokeMethod() local
831 return RequestInvoke(state, request, thread_id, object_id, class_id, method_id, false); in OR_InvokeMethod()
896 ObjectId thread_id = request->ReadThreadId(); in TR_Name() local
[all …]
Djdwp_event.cc786 ObjectId thread_id) in LogMatchingEventsAndThread() argument
794 JdwpError error = Dbg::GetThreadName(thread_id, &thread_name); in LogMatchingEventsAndThread()
798 VLOG(jdwp) << StringPrintf(" thread=%#" PRIx64, thread_id) << " " << thread_name; in LogMatchingEventsAndThread()
892 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostLocationEvent() local
897 LogMatchingEventsAndThread(match_list, thread_id); in PostLocationEvent()
909 expandBufAddObjectId(pReq, thread_id); in PostLocationEvent()
923 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); in PostLocationEvent()
954 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostFieldEvent() local
963 LogMatchingEventsAndThread(match_list, thread_id); in PostFieldEvent()
990 expandBufAddObjectId(pReq, thread_id); in PostFieldEvent()
[all …]
/art/runtime/
Ddebugger.h61 : request_id(invoke_request_id), thread_id(invoke_thread_id), receiver(invoke_receiver), in DebugInvokeReq()
72 const JDWP::ObjectId thread_id; member
352 static JDWP::JdwpError GetOwnedMonitors(JDWP::ObjectId thread_id,
357 static JDWP::JdwpError GetContendedMonitor(JDWP::ObjectId thread_id,
439 static JDWP::JdwpError GetThreadName(JDWP::ObjectId thread_id, std::string* name)
442 static JDWP::JdwpError GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply)
458 static JDWP::JdwpError GetThreadStatus(JDWP::ObjectId thread_id,
462 static JDWP::JdwpError GetThreadDebugSuspendCount(JDWP::ObjectId thread_id,
474 static JDWP::JdwpError GetThreadFrameCount(JDWP::ObjectId thread_id, size_t* result)
476 static JDWP::JdwpError GetThreadFrames(JDWP::ObjectId thread_id, size_t start_frame,
[all …]
Dlock_word.h111 static LockWord FromThinLockId(uint32_t thread_id, uint32_t count, uint32_t rb_state) { in FromThinLockId() argument
112 CHECK_LE(thread_id, static_cast<uint32_t>(kThinLockMaxOwner)); in FromThinLockId()
115 return LockWord((thread_id << kThinLockOwnerShift) | (count << kThinLockCountShift) | in FromThinLockId()
Dmonitor.cc705 uint32_t thread_id = self->GetThreadId(); in MonitorEnter() local
713 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.ReadBarrierState())); in MonitorEnter()
722 if (owner_thread_id == thread_id) { in MonitorEnter()
726 LockWord thin_locked(LockWord::FromThinLockId(thread_id, new_count, in MonitorEnter()
791 uint32_t thread_id = self->GetThreadId(); in MonitorExit() local
793 if (owner_thread_id != thread_id) { in MonitorExit()
804 new_lw = LockWord::FromThinLockId(thread_id, new_count, lock_word.ReadBarrierState()); in MonitorExit()
848 uint32_t thread_id = self->GetThreadId(); in Wait() local
850 if (owner_thread_id != thread_id) { in Wait()
883 uint32_t thread_id = self->GetThreadId(); in DoNotify() local
[all …]
Ddebugger.cc473 static Thread* DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, in DecodeThread() argument
477 mirror::Object* thread_peer = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_id, error); in DecodeThread()
882 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, in GetOwnedMonitors() argument
919 Thread* thread = DecodeThread(soa, thread_id, &error); in GetOwnedMonitors()
932 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, in GetContendedMonitor() argument
937 Thread* thread = DecodeThread(soa, thread_id, &error); in GetContendedMonitor()
2018 JDWP::JdwpError Dbg::GetThreadName(JDWP::ObjectId thread_id, std::string* name) { in GetThreadName() argument
2021 Thread* thread = DecodeThread(soa, thread_id, &error); in GetThreadName()
2028 mirror::Object* thread_object = gRegistry->Get<mirror::Object*>(thread_id, &error); in GetThreadName()
2040 JDWP::JdwpError Dbg::GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) { in GetThreadGroup() argument
[all …]
Dthread_list.cc722 uint32_t thread_id) { in ThreadSuspendByThreadIdWarning() argument
723 LOG(severity) << StringPrintf("%s: %d", message, thread_id); in ThreadSuspendByThreadIdWarning()
726 Thread* ThreadList::SuspendThreadByThreadId(uint32_t thread_id, bool debug_suspension, in SuspendThreadByThreadId() argument
733 CHECK_NE(thread_id, kInvalidThreadId); in SuspendThreadByThreadId()
746 if (it->GetThreadId() == thread_id) { in SuspendThreadByThreadId()
755 ThreadSuspendByThreadIdWarning(WARNING, "No such thread id for suspend", thread_id); in SuspendThreadByThreadId()
789 name.c_str(), thread_id).c_str()); in SuspendThreadByThreadId()
796 ThreadSuspendByThreadIdWarning(WARNING, "Thread suspension timed out", thread_id); in SuspendThreadByThreadId()
Dgc_root.h57 explicit RootInfo(RootType type, uint32_t thread_id = 0)
58 : type_(type), thread_id_(thread_id) { in type_()
Dthread.cc1522 void Thread::HandleScopeVisitRoots(RootVisitor* visitor, uint32_t thread_id) { in HandleScopeVisitRoots() argument
1524 visitor, RootInfo(kRootNativeStack, thread_id)); in HandleScopeVisitRoots()
2429 const uint32_t thread_id = GetThreadId(); in VisitRoots() local
2430 visitor->VisitRootIfNonNull(&tlsPtr_.opeer, RootInfo(kRootThreadObject, thread_id)); in VisitRoots()
2433 RootInfo(kRootNativeStack, thread_id)); in VisitRoots()
2435 visitor->VisitRootIfNonNull(&tlsPtr_.monitor_enter_object, RootInfo(kRootNativeStack, thread_id)); in VisitRoots()
2436 tlsPtr_.jni_env->locals.VisitRoots(visitor, RootInfo(kRootJNILocal, thread_id)); in VisitRoots()
2437 tlsPtr_.jni_env->monitors.VisitRoots(visitor, RootInfo(kRootJNIMonitor, thread_id)); in VisitRoots()
2438 HandleScopeVisitRoots(visitor, thread_id); in VisitRoots()
2440 tlsPtr_.debug_invoke_req->VisitRoots(visitor, RootInfo(kRootDebugger, thread_id)); in VisitRoots()
[all …]
Dthread_list.h87 Thread* SuspendThreadByThreadId(uint32_t thread_id, bool debug_suspension, bool* timed_out)
Dstack.h315 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) in JavaFrameRootInfo() argument
316 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) { in JavaFrameRootInfo()
Dthread.h720 void HandleScopeVisitRoots(RootVisitor* visitor, uint32_t thread_id)