Searched refs:ObjectId (Results 1 – 10 of 10) sorted by relevance
/art/runtime/jdwp/ |
D | object_registry.h | 49 JDWP::ObjectId id; 67 JDWP::ObjectId Add(ObjPtr<mirror::Object> o) 76 JDWP::ObjectId Add(Handle<T> obj_h) 84 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error) in Get() 95 void DisableCollection(JDWP::ObjectId id) 98 void EnableCollection(JDWP::ObjectId id) 101 bool IsCollected(JDWP::ObjectId id) 104 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count) 109 jobject GetJObject(JDWP::ObjectId id) REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!lock_); 113 JDWP::ObjectId InternalAdd(Handle<T> obj_h) [all …]
|
D | jdwp.h | 60 typedef uint64_t ObjectId; /* any object (threadID, stringID, arrayID, etc) */ typedef 64 ObjectId ReadObjectId(const uint8_t** pBuf); 68 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } in SetObjectId() 73 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, i… in expandBufAddObjectId() 169 void AcquireJdwpTokenForEvent(ObjectId threadId) REQUIRES(!jdwp_token_lock_); 307 void SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id) 310 ObjectId threadId) 354 void SetWaitForJdwpToken(ObjectId threadId) REQUIRES(!jdwp_token_lock_); 369 ObjectId debug_thread_id_; 401 ObjectId jdwp_token_owner_thread_id_; [all …]
|
D | object_registry.cc | 53 JDWP::ObjectId ObjectRegistry::Add(ObjPtr<mirror::Object> o) { in Add() 64 JDWP::ObjectId ObjectRegistry::Add(Handle<T> obj_h) { in Add() 75 JDWP::ObjectId ObjectRegistry::Add(Handle<mirror::Object> obj_h); 80 JDWP::ObjectId ObjectRegistry::Add(Handle<mirror::Throwable> obj_h); 83 JDWP::ObjectId ObjectRegistry::InternalAdd(Handle<T> obj_h) { in InternalAdd() 179 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error) { in InternalGet() 192 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject() 204 void ObjectRegistry::DisableCollection(JDWP::ObjectId id) { in DisableCollection() 212 void ObjectRegistry::EnableCollection(JDWP::ObjectId id) { in EnableCollection() 242 bool ObjectRegistry::IsCollected(JDWP::ObjectId id) { in IsCollected() [all …]
|
D | jdwp_request.cc | 102 ObjectId Request::ReadObjectId(const char* specific_kind) { in ReadObjectId() 103 ObjectId id = Read8BE(); in ReadObjectId() 108 ObjectId Request::ReadArrayId() { in ReadArrayId() 112 ObjectId Request::ReadObjectId() { in ReadObjectId() 116 ObjectId Request::ReadThreadId() { in ReadThreadId() 120 ObjectId Request::ReadThreadGroupId() { in ReadThreadGroupId()
|
D | jdwp_handler.cc | 59 static JdwpError WriteTaggedObject(ExpandBuf* reply, ObjectId object_id) in WriteTaggedObject() 70 static JdwpError WriteTaggedObjectList(ExpandBuf* reply, const std::vector<ObjectId>& objects) in WriteTaggedObjectList() 89 ObjectId thread_id, ObjectId object_id, in RequestInvoke() 187 std::vector<ObjectId> thread_ids; in VM_AllThreads() 211 ObjectId thread_group_id = Dbg::GetSystemThreadGroupId(); in VM_TopLevelThreadGroups() 224 expandBufAdd4BE(pReply, sizeof(ObjectId)); in VM_IDSizes() 275 ObjectId string_id; in VM_CreateString() 309 ObjectId object_id = request->ReadObjectId(); in VM_DisposeObjects() 490 ObjectId class_object_id; in RT_ClassObject() 594 std::vector<ObjectId> instances; in RT_Instances() [all …]
|
D | jdwp_event.h | 45 ObjectId threadId; 76 ObjectId threadId; 82 ObjectId objectId;
|
D | jdwp_event.cc | 624 void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id) { in SuspendByPolicy() 660 ObjectId threadId) { in SendRequestAndPossiblySuspend() 700 void JdwpState::AcquireJdwpTokenForEvent(ObjectId threadId) { in AcquireJdwpTokenForEvent() 715 void JdwpState::SetWaitForJdwpToken(ObjectId threadId) { in SetWaitForJdwpToken() 808 ObjectId threadId = Dbg::GetThreadSelfId(); in PostVMStart() 827 ObjectId thread_id) in LogMatchingEventsAndThread() 933 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostLocationEvent() 995 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostFieldEvent() 997 ObjectId instance_id = registry->Add(basket.thisPtr); in PostFieldEvent() 1088 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostThreadChange() [all …]
|
D | jdwp_main.cc | 500 debug_thread_id_ = static_cast<ObjectId>(-1); in Run()
|
/art/runtime/ |
D | debugger.h | 58 DebugInvokeReq(uint32_t invoke_request_id, JDWP::ObjectId invoke_thread_id, in DebugInvokeReq() 73 const JDWP::ObjectId thread_id; 270 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId* class_object_id) 287 static JDWP::JdwpError GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply) 296 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t* tag) 300 static JDWP::JdwpError GetArrayLength(JDWP::ObjectId array_id, int32_t* length) 302 static JDWP::JdwpError OutputArray(JDWP::ObjectId array_id, int offset, int count, 305 static JDWP::JdwpError SetArrayElements(JDWP::ObjectId array_id, int offset, int count, 309 static JDWP::JdwpError CreateString(const std::string& str, JDWP::ObjectId* new_string_id) 311 static JDWP::JdwpError CreateObject(JDWP::RefTypeId class_id, JDWP::ObjectId* new_object_id) [all …]
|
D | debugger.cc | 398 static Thread* DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, in DecodeThread() 732 JDWP::JdwpError Dbg::GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId* class_object_id) { in GetClassObject() 790 JDWP::JdwpError Dbg::GetMonitorInfo(JDWP::ObjectId object_id, JDWP::ExpandBuf* reply) { in GetMonitorInfo() 820 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, in GetOwnedMonitors() 821 std::vector<JDWP::ObjectId>* monitors, in GetOwnedMonitors() 825 std::vector<JDWP::ObjectId>* monitor_vector, in GetOwnedMonitors() 851 std::vector<JDWP::ObjectId>* const monitors; in GetOwnedMonitors() 870 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, in GetContendedMonitor() 871 JDWP::ObjectId* contended_monitor) { in GetContendedMonitor() 910 std::vector<JDWP::ObjectId>* instances) { in GetInstances() [all …]
|