/art/runtime/ |
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 | debugger.h | 61 : request_id(invoke_request_id), thread_id(invoke_thread_id), receiver(invoke_receiver), 72 const JDWP::ObjectId thread_id; member in struct:art::DebugInvokeReq 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, 466 // static void WaitForSuspend(JDWP::ObjectId thread_id); 474 static JDWP::JdwpError GetThreadFrameCount(JDWP::ObjectId thread_id, size_ [all...] |
H A D | thread_list.cc | 722 uint32_t thread_id) { 723 LOG(severity) << StringPrintf("%s: %d", message, thread_id); 726 Thread* ThreadList::SuspendThreadByThreadId(uint32_t thread_id, bool debug_suspension, argument 733 CHECK_NE(thread_id, kInvalidThreadId); 746 if (it->GetThreadId() == thread_id) { 755 ThreadSuspendByThreadIdWarning(WARNING, "No such thread id for suspend", thread_id); 789 name.c_str(), thread_id).c_str()); 796 ThreadSuspendByThreadIdWarning(WARNING, "Thread suspension timed out", thread_id); 721 ThreadSuspendByThreadIdWarning(LogSeverity severity, const char* message, uint32_t thread_id) argument
|
H A D | monitor.cc | 705 uint32_t thread_id = self->GetThreadId(); local 713 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.ReadBarrierState())); 722 if (owner_thread_id == thread_id) { 726 LockWord thin_locked(LockWord::FromThinLockId(thread_id, new_count, 791 uint32_t thread_id = self->GetThreadId(); local 793 if (owner_thread_id != thread_id) { 804 new_lw = LockWord::FromThinLockId(thread_id, new_count, lock_word.ReadBarrierState()); 848 uint32_t thread_id = self->GetThreadId(); local 850 if (owner_thread_id != thread_id) { 883 uint32_t thread_id local [all...] |
H A D | stack.h | 315 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) argument 316 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) {
|
H A D | thread.cc | 1522 void Thread::HandleScopeVisitRoots(RootVisitor* visitor, uint32_t thread_id) { argument 1524 visitor, RootInfo(kRootNativeStack, thread_id)); 2429 const uint32_t thread_id = GetThreadId(); local 2430 visitor->VisitRootIfNonNull(&tlsPtr_.opeer, RootInfo(kRootThreadObject, thread_id)); 2433 RootInfo(kRootNativeStack, thread_id)); 2435 visitor->VisitRootIfNonNull(&tlsPtr_.monitor_enter_object, RootInfo(kRootNativeStack, thread_id)); 2436 tlsPtr_.jni_env->locals.VisitRoots(visitor, RootInfo(kRootJNILocal, thread_id)); 2437 tlsPtr_.jni_env->monitors.VisitRoots(visitor, RootInfo(kRootJNIMonitor, thread_id)); 2438 HandleScopeVisitRoots(visitor, thread_id); 2440 tlsPtr_.debug_invoke_req->VisitRoots(visitor, RootInfo(kRootDebugger, thread_id)); [all...] |
H A D | debugger.cc | 473 static Thread* DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, 477 mirror::Object* thread_peer = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_id, error); 882 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, argument 919 Thread* thread = DecodeThread(soa, thread_id, &error); 932 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, argument 937 Thread* thread = DecodeThread(soa, thread_id, &error); 2018 JDWP::JdwpError Dbg::GetThreadName(JDWP::ObjectId thread_id, std::string* name) { argument 2021 Thread* thread = DecodeThread(soa, thread_id, &error); 2028 mirror::Object* thread_object = gRegistry->Get<mirror::Object*>(thread_id, &error); 2040 JDWP::JdwpError Dbg::GetThreadGroup(JDWP::ObjectId thread_id, JDW argument 2233 GetThreadStatus(JDWP::ObjectId thread_id, JDWP::JdwpThreadStatus* pThreadStatus, JDWP::JdwpSuspendStatus* pSuspendStatus) argument 2257 GetThreadDebugSuspendCount(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) argument 2269 Interrupt(JDWP::ObjectId thread_id) argument 2348 GetThreadFrameCount(JDWP::ObjectId thread_id, size_t* result) argument 2363 GetThreadFrames(JDWP::ObjectId thread_id, size_t start_frame, size_t frame_count, JDWP::ExpandBuf* buf) argument 2435 SuspendThread(JDWP::ObjectId thread_id, bool request_suspension) argument 2460 ResumeThread(JDWP::ObjectId thread_id) argument 2510 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 3673 ConfigureStep(JDWP::ObjectId thread_id, JDWP::JdwpStepSize step_size, JDWP::JdwpStepDepth step_depth) argument 3801 UnconfigureStep(JDWP::ObjectId thread_id) argument 3839 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_event.cc | 786 ObjectId thread_id) 794 JdwpError error = Dbg::GetThreadName(thread_id, &thread_name); 798 VLOG(jdwp) << StringPrintf(" thread=%#" PRIx64, thread_id) << " " << thread_name; 892 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 897 LogMatchingEventsAndThread(match_list, thread_id); 909 expandBufAddObjectId(pReq, thread_id); 923 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); 954 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 963 LogMatchingEventsAndThread(match_list, thread_id); 990 expandBufAddObjectId(pReq, thread_id); 1047 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 1137 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local 1210 ObjectId thread_id = Dbg::GetThreadId(basket.thread); local [all...] |
H A D | jdwp_handler.cc | 85 ObjectId thread_id, ObjectId object_id, 92 VLOG(jdwp) << StringPrintf(" --> thread_id=%#" PRIx64 " object_id=%#" PRIx64, 93 thread_id, object_id); 114 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); 752 * This can get called on different things, e.g. thread_id gets 827 ObjectId thread_id local 896 ObjectId thread_id = request->ReadThreadId(); local 917 ObjectId thread_id = request->ReadThreadId(); local 936 ObjectId thread_id = request->ReadThreadId(); local 952 ObjectId thread_id = request->ReadThreadId(); local 974 ObjectId thread_id = request->ReadThreadId(); local 986 ObjectId thread_id = request->ReadThreadId(); local 1018 ObjectId thread_id = request->ReadThreadId(); local 1032 ObjectId thread_id = request->ReadThreadId(); local 1066 ObjectId thread_id = request->ReadThreadId(); local 1079 ObjectId thread_id = request->ReadThreadId(); local 1091 ObjectId thread_id = request->ReadThreadId(); local 1222 ObjectId thread_id = request->ReadThreadId(); local 1278 ObjectId thread_id = request->ReadThreadId(); local 1353 ObjectId thread_id = request->ReadThreadId(); local [all...] |