/art/runtime/ |
H A D | lock_word.h | 134 static LockWord FromThinLockId(uint32_t thread_id, uint32_t count, uint32_t gc_state) { argument 135 CHECK_LE(thread_id, static_cast<uint32_t>(kThinLockMaxOwner)); 138 return LockWord((thread_id << kThinLockOwnerShift) |
|
H A D | debugger.h | 62 : request_id(invoke_request_id), thread_id(invoke_thread_id), receiver(invoke_receiver), 73 const JDWP::ObjectId thread_id; member in struct:art::DebugInvokeReq 342 static JDWP::JdwpError GetOwnedMonitors(JDWP::ObjectId thread_id, 346 static JDWP::JdwpError GetContendedMonitor(JDWP::ObjectId thread_id, 429 static JDWP::JdwpError GetThreadName(JDWP::ObjectId thread_id, std::string* name) 431 static JDWP::JdwpError GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) 446 static JDWP::JdwpError GetThreadStatus(JDWP::ObjectId thread_id, 450 static JDWP::JdwpError GetThreadDebugSuspendCount(JDWP::ObjectId thread_id, 453 // static void WaitForSuspend(JDWP::ObjectId thread_id); 460 static JDWP::JdwpError GetThreadFrameCount(JDWP::ObjectId thread_id, size_ [all...] |
H A D | monitor.cc | 889 uint32_t thread_id = self->GetThreadId(); local 901 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.GCState())); 910 if (owner_thread_id == thread_id) { 915 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 1003 uint32_t thread_id = self->GetThreadId(); local 1005 if (owner_thread_id != thread_id) { 1006 FailedUnlock(h_obj.Get(), thread_id, owner_thread_id, nullptr); 1013 new_lw = LockWord::FromThinLockId(thread_id, new_count, lock_word.GCState()); 1062 uint32_t thread_id = self->GetThreadId(); local 1064 if (owner_thread_id != thread_id) { 1097 uint32_t thread_id = self->GetThreadId(); local [all...] |
H A D | thread_list.cc | 984 uint32_t thread_id) { 985 LOG(severity) << StringPrintf("%s: %d", message, thread_id); 988 Thread* ThreadList::SuspendThreadByThreadId(uint32_t thread_id, argument 996 CHECK_NE(thread_id, kInvalidThreadId); 1009 if (it->GetThreadId() == thread_id) { 1020 thread_id); 1055 name.c_str(), thread_id).c_str()); 1064 thread_id); 1086 Thread* ThreadList::FindThreadByThreadId(uint32_t thread_id) { argument 1088 if (thread->GetThreadId() == thread_id) { 982 ThreadSuspendByThreadIdWarning(LogSeverity severity, const char* message, uint32_t thread_id) argument [all...] |
H A D | stack.h | 497 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) argument 498 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) {
|
H A D | thread.cc | 2209 void Thread::HandleScopeVisitRoots(RootVisitor* visitor, uint32_t thread_id) { argument 2211 visitor, RootInfo(kRootNativeStack, thread_id)); 3366 const uint32_t thread_id = GetThreadId(); local 3367 visitor->VisitRootIfNonNull(&tlsPtr_.opeer, RootInfo(kRootThreadObject, thread_id)); 3370 RootInfo(kRootNativeStack, thread_id)); 3372 visitor->VisitRootIfNonNull(&tlsPtr_.monitor_enter_object, RootInfo(kRootNativeStack, thread_id)); 3373 tlsPtr_.jni_env->locals.VisitRoots(visitor, RootInfo(kRootJNILocal, thread_id)); 3374 tlsPtr_.jni_env->monitors.VisitRoots(visitor, RootInfo(kRootJNIMonitor, thread_id)); 3375 HandleScopeVisitRoots(visitor, thread_id); 3377 tlsPtr_.debug_invoke_req->VisitRoots(visitor, RootInfo(kRootDebugger, thread_id)); [all...] |
H A D | debugger.cc | 393 static Thread* DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, 397 mirror::Object* thread_peer = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_id, error); 815 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, argument 852 Thread* thread = DecodeThread(soa, thread_id, &error); 865 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, argument 870 Thread* thread = DecodeThread(soa, thread_id, &error); 2012 JDWP::JdwpError Dbg::GetThreadName(JDWP::ObjectId thread_id, std::string* name) { argument 2015 DecodeThread(soa, thread_id, &error); 2021 mirror::Object* thread_object = gRegistry->Get<mirror::Object*>(thread_id, &error); 2032 JDWP::JdwpError Dbg::GetThreadGroup(JDWP::ObjectId thread_id, JDW argument 2226 GetThreadStatus(JDWP::ObjectId thread_id, JDWP::JdwpThreadStatus* pThreadStatus, JDWP::JdwpSuspendStatus* pSuspendStatus) argument 2250 GetThreadDebugSuspendCount(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) argument 2262 Interrupt(JDWP::ObjectId thread_id) argument 2340 GetThreadFrameCount(JDWP::ObjectId thread_id, size_t* result) argument 2355 GetThreadFrames(JDWP::ObjectId thread_id, size_t start_frame, size_t frame_count, JDWP::ExpandBuf* buf) argument 2431 SuspendThread(JDWP::ObjectId thread_id, bool request_suspension) argument 2458 ResumeThread(JDWP::ObjectId thread_id) argument 2508 GetThisObject(JDWP::ObjectId thread_id, JDWP::FrameId frame_id, JDWP::ObjectId* result) argument 2564 JDWP::ObjectId thread_id = request->ReadThreadId(); local 2735 JDWP::ObjectId thread_id = request->ReadThreadId(); local 3728 ConfigureStep(JDWP::ObjectId thread_id, JDWP::JdwpStepSize step_size, JDWP::JdwpStepDepth step_depth) argument 3855 UnconfigureStep(JDWP::ObjectId thread_id) argument 3893 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...] |
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 89 ObjectId thread_id, ObjectId object_id, 96 VLOG(jdwp) << StringPrintf(" --> thread_id=%#" PRIx64 " object_id=%#" PRIx64, 97 thread_id, object_id); 118 JDWP::JdwpError error = Dbg::PrepareInvokeMethod(request->GetId(), thread_id, object_id, 654 ObjectId thread_id = request->ReadThreadId(); local 657 return RequestInvoke(state, request, thread_id, 0, class_id, method_id, false); 671 ObjectId thread_id = request->ReadThreadId(); local 679 return RequestInvoke(state, request, thread_id, object_id, class_id, method_id, true); 707 ObjectId thread_id = request->ReadThreadId(); local 710 return RequestInvoke(state, request, thread_id, 856 ObjectId thread_id = request->ReadThreadId(); local 925 ObjectId thread_id = request->ReadThreadId(); local 946 ObjectId thread_id = request->ReadThreadId(); local 964 ObjectId thread_id = request->ReadThreadId(); local 980 ObjectId thread_id = request->ReadThreadId(); local 1002 ObjectId thread_id = request->ReadThreadId(); local 1014 ObjectId thread_id = request->ReadThreadId(); local 1046 ObjectId thread_id = request->ReadThreadId(); local 1060 ObjectId thread_id = request->ReadThreadId(); local 1094 ObjectId thread_id = request->ReadThreadId(); local 1106 ObjectId thread_id = request->ReadThreadId(); local 1118 ObjectId thread_id = request->ReadThreadId(); local 1256 ObjectId thread_id = request->ReadThreadId(); local 1312 ObjectId thread_id = request->ReadThreadId(); local 1386 ObjectId thread_id = request->ReadThreadId(); local [all...] |
H A D | jdwp_event.cc | 827 ObjectId thread_id) 835 JdwpError error = Dbg::GetThreadName(thread_id, &thread_name); 839 VLOG(jdwp) << StringPrintf(" thread=%#" PRIx64, thread_id) << " " << thread_name; 933 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 938 LogMatchingEventsAndThread(match_list, thread_id); 950 expandBufAddObjectId(pReq, thread_id); 964 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); 995 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 1004 LogMatchingEventsAndThread(match_list, thread_id); 1031 expandBufAddObjectId(pReq, thread_id); 1088 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 1178 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 1251 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local [all...] |
/art/test/913-heaps/ |
H A D | heaps.cc | 270 // jlong thread_id = info_.jni_local.thread_id; 273 jlong thread_id = 1; local 276 thread_id, 316 // jlong thread_id = info_.stack_local.thread_id; 319 jlong thread_id = 1; local 322 thread_id,
|
/art/runtime/openjdkjvmti/ |
H A D | ti_heap.cc | 943 uint32_t thread_id = info.GetThreadId(); local 944 ref_info->jni_local.thread_id = thread_id; 973 uint32_t thread_id = info.GetThreadId(); local 974 ref_info->stack_local.thread_id = thread_id;
|
/art/runtime/openjdkjvmti/include/ |
H A D | jvmti.h | 556 jlong thread_id; member in struct:_jvmtiHeapReferenceInfoStackLocal 564 jlong thread_id; member in struct:_jvmtiHeapReferenceInfoJniLocal
|