Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_handler.cc89 ObjectId thread_id, ObjectId object_id, in RequestInvoke() argument
97 thread_id, object_id); in RequestInvoke()
118 JDWP::JdwpError error = Dbg::PrepareInvokeMethod(request->GetId(), thread_id, object_id, in RequestInvoke()
653 ObjectId thread_id = request->ReadThreadId(); in CT_InvokeMethod() local
656 return RequestInvoke(state, request, thread_id, 0, class_id, method_id, false); in CT_InvokeMethod()
670 ObjectId thread_id = request->ReadThreadId(); in CT_NewInstance() local
678 return RequestInvoke(state, request, thread_id, object_id, class_id, method_id, true); in CT_NewInstance()
706 ObjectId thread_id = request->ReadThreadId(); in IT_InvokeMethod() local
709 return RequestInvoke(state, request, thread_id, 0, class_id, method_id, false); in IT_InvokeMethod()
855 ObjectId thread_id = request->ReadThreadId(); in OR_InvokeMethod() local
[all …]
Djdwp_event.cc827 ObjectId thread_id) in LogMatchingEventsAndThread() argument
835 JdwpError error = Dbg::GetThreadName(thread_id, &thread_name); in LogMatchingEventsAndThread()
839 VLOG(jdwp) << StringPrintf(" thread=%#" PRIx64, thread_id) << " " << thread_name; in LogMatchingEventsAndThread()
933 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostLocationEvent() local
938 LogMatchingEventsAndThread(match_list, thread_id); in PostLocationEvent()
950 expandBufAddObjectId(pReq, thread_id); in PostLocationEvent()
964 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); in PostLocationEvent()
995 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostFieldEvent() local
1004 LogMatchingEventsAndThread(match_list, thread_id); in PostFieldEvent()
1031 expandBufAddObjectId(pReq, thread_id); in PostFieldEvent()
[all …]
/art/runtime/
Djava_frame_root_info.h32 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) in JavaFrameRootInfo() argument
33 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) { in JavaFrameRootInfo()
Ddebugger.h86 thread_id(invoke_thread_id), in DebugInvokeReq()
102 const JDWP::ObjectId thread_id; member
374 static JDWP::JdwpError GetOwnedMonitors(JDWP::ObjectId thread_id,
378 static JDWP::JdwpError GetContendedMonitor(JDWP::ObjectId thread_id,
461 static JDWP::JdwpError GetThreadName(JDWP::ObjectId thread_id, std::string* name)
463 static JDWP::JdwpError GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply)
478 static JDWP::JdwpError GetThreadStatus(JDWP::ObjectId thread_id,
482 static JDWP::JdwpError GetThreadDebugSuspendCount(JDWP::ObjectId thread_id,
492 static JDWP::JdwpError GetThreadFrameCount(JDWP::ObjectId thread_id, size_t* result)
494 static JDWP::JdwpError GetThreadFrames(JDWP::ObjectId thread_id, size_t start_frame,
[all …]
Dlock_word.h139 static LockWord FromThinLockId(uint32_t thread_id, uint32_t count, uint32_t gc_state) { in FromThinLockId() argument
140 CHECK_LE(thread_id, static_cast<uint32_t>(kThinLockMaxOwner)); in FromThinLockId()
143 return LockWord((thread_id << kThinLockOwnerShift) | in FromThinLockId()
Dmonitor.cc1087 uint32_t thread_id = self->GetThreadId(); in MonitorEnter() local
1099 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.GCState())); in MonitorEnter()
1108 if (owner_thread_id == thread_id) { in MonitorEnter()
1113 LockWord thin_locked(LockWord::FromThinLockId(thread_id, in MonitorEnter()
1204 uint32_t thread_id = self->GetThreadId(); in MonitorExit() local
1206 if (owner_thread_id != thread_id) { in MonitorExit()
1207 FailedUnlock(h_obj.Get(), thread_id, owner_thread_id, nullptr); in MonitorExit()
1214 new_lw = LockWord::FromThinLockId(thread_id, new_count, lock_word.GCState()); in MonitorExit()
1276 uint32_t thread_id = self->GetThreadId(); in Wait() local
1278 if (owner_thread_id != thread_id) { in Wait()
[all …]
Ddebugger.cc446 static Thread* DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, in DecodeThread() argument
451 Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_id, error); in DecodeThread()
880 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, in GetOwnedMonitors() argument
917 Thread* thread = DecodeThread(soa, thread_id, &error); in GetOwnedMonitors()
930 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, in GetContendedMonitor() argument
935 Thread* thread = DecodeThread(soa, thread_id, &error); in GetContendedMonitor()
2061 JDWP::JdwpError Dbg::GetThreadName(JDWP::ObjectId thread_id, std::string* name) { in GetThreadName() argument
2064 DecodeThread(soa, thread_id, &error); in GetThreadName()
2070 mirror::Object* thread_object = gRegistry->Get<mirror::Object*>(thread_id, &error); in GetThreadName()
2081 JDWP::JdwpError Dbg::GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) { in GetThreadGroup() argument
[all …]
Dthread_list.cc1007 uint32_t thread_id) { in ThreadSuspendByThreadIdWarning() argument
1008 LOG(severity) << StringPrintf("%s: %d", message, thread_id); in ThreadSuspendByThreadIdWarning()
1011 Thread* ThreadList::SuspendThreadByThreadId(uint32_t thread_id, in SuspendThreadByThreadId() argument
1019 CHECK_NE(thread_id, kInvalidThreadId); in SuspendThreadByThreadId()
1032 if (it->GetThreadId() == thread_id) { in SuspendThreadByThreadId()
1043 thread_id); in SuspendThreadByThreadId()
1078 name.c_str(), thread_id).c_str()); in SuspendThreadByThreadId()
1087 thread_id); in SuspendThreadByThreadId()
1109 Thread* ThreadList::FindThreadByThreadId(uint32_t thread_id) { in FindThreadByThreadId() argument
1111 if (thread->GetThreadId() == thread_id) { in FindThreadByThreadId()
Dthread_list.h97 Thread* SuspendThreadByThreadId(uint32_t thread_id, SuspendReason reason, bool* timed_out)
103 Thread* FindThreadByThreadId(uint32_t thread_id) REQUIRES(Locks::thread_list_lock_);
Dgc_root.h63 explicit RootInfo(RootType type, uint32_t thread_id = 0)
64 : type_(type), thread_id_(thread_id) { in type_()
Dthread.cc2540 void Thread::HandleScopeVisitRoots(RootVisitor* visitor, pid_t thread_id) { in HandleScopeVisitRoots() argument
2542 visitor, RootInfo(kRootNativeStack, thread_id)); in HandleScopeVisitRoots()
3960 const pid_t thread_id = GetThreadId(); in VisitRoots() local
3961 visitor->VisitRootIfNonNull(&tlsPtr_.opeer, RootInfo(kRootThreadObject, thread_id)); in VisitRoots()
3964 RootInfo(kRootNativeStack, thread_id)); in VisitRoots()
3968 RootInfo(kRootNativeStack, thread_id)); in VisitRoots()
3970 visitor->VisitRootIfNonNull(&tlsPtr_.monitor_enter_object, RootInfo(kRootNativeStack, thread_id)); in VisitRoots()
3971 tlsPtr_.jni_env->VisitJniLocalRoots(visitor, RootInfo(kRootJNILocal, thread_id)); in VisitRoots()
3972 tlsPtr_.jni_env->VisitMonitorRoots(visitor, RootInfo(kRootJNIMonitor, thread_id)); in VisitRoots()
3973 HandleScopeVisitRoots(visitor, thread_id); in VisitRoots()
[all …]
Dthread.h869 void HandleScopeVisitRoots(RootVisitor* visitor, pid_t thread_id)
/art/openjdkjvmti/
Dti_heap.cc965 uint32_t thread_id = info.GetThreadId(); in GetReferenceKind() local
966 ref_info->jni_local.thread_id = thread_id; in GetReferenceKind()
997 uint32_t thread_id = info.GetThreadId(); in GetReferenceKind() local
998 ref_info->stack_local.thread_id = thread_id; in GetReferenceKind()
/art/test/913-heaps/
Dheaps.cc318 jlong thread_id = 1; in Java_art_Test913_followReferences() local
321 thread_id, in Java_art_Test913_followReferences()
364 jlong thread_id = 1; in Java_art_Test913_followReferences() local
367 thread_id, in Java_art_Test913_followReferences()
/art/openjdkjvmti/include/
Djvmti.h556 jlong thread_id; member
564 jlong thread_id; member
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S707 .Lnot_unlocked: @ r2: original lock word, r1: thread_id, r3: r2 ^ r1
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S1263 # $t1: original lock word, $t0: thread_id with count of 0 and zero read barrier bits
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S1317 # $t1: original lock word, $t0: thread_id with count of 0 and zero read barrier bits