Home
last modified time | relevance | path

Searched refs:ObjectId (Results 1 – 10 of 10) sorted by relevance

/art/runtime/jdwp/
Dobject_registry.h46 JDWP::ObjectId id;
63 JDWP::ObjectId Add(mirror::Object* o)
68 template<typename T> T Get(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in Get()
77 void DisableCollection(JDWP::ObjectId id)
80 void EnableCollection(JDWP::ObjectId id)
83 bool IsCollected(JDWP::ObjectId id)
86 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
94 jobject GetJObject(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
97 JDWP::ObjectId InternalAdd(mirror::Object* o)
101 mirror::Object* InternalGet(JDWP::ObjectId id)
[all …]
Djdwp.h56 typedef uint64_t ObjectId; /* any object (threadID, stringID, arrayID, etc) */ typedef
60 ObjectId ReadObjectId(const uint8_t** pBuf);
64 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } in SetObjectId()
69 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, i… in expandBufAddObjectId()
169 void SetWaitForEventThread(ObjectId threadId)
305 void SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id)
308 ObjectId threadId)
342 ObjectId debug_thread_id_;
372 ObjectId event_thread_id_;
408 ObjectId ReadObjectId(const char* specific_kind);
[all …]
Djdwp_handler.cc65 static JdwpError WriteTaggedObject(ExpandBuf* reply, ObjectId object_id) in WriteTaggedObject()
76 static JdwpError WriteTaggedObjectList(ExpandBuf* reply, const std::vector<ObjectId>& objects) in WriteTaggedObjectList()
95 ObjectId thread_id, ObjectId object_id, in FinishInvoke()
126 ObjectId exceptObjId; in FinishInvoke()
227 std::vector<ObjectId> thread_ids; in VM_AllThreads()
251 ObjectId thread_group_id = Dbg::GetSystemThreadGroupId(); in VM_TopLevelThreadGroups()
266 expandBufAdd4BE(pReply, sizeof(ObjectId)); in VM_IDSizes()
319 ObjectId stringId = Dbg::CreateString(str); in VM_CreateString()
352 ObjectId object_id = request.ReadObjectId(); in VM_DisposeObjects()
533 ObjectId class_object_id; in RT_ClassObject()
[all …]
Djdwp_request.cc101 ObjectId Request::ReadObjectId(const char* specific_kind) { in ReadObjectId()
102 ObjectId id = Read8BE(); in ReadObjectId()
107 ObjectId Request::ReadArrayId() { in ReadArrayId()
111 ObjectId Request::ReadObjectId() { in ReadObjectId()
115 ObjectId Request::ReadThreadId() { in ReadThreadId()
119 ObjectId Request::ReadThreadGroupId() { in ReadThreadGroupId()
Djdwp_event.h45 ObjectId threadId;
76 ObjectId threadId;
82 ObjectId objectId;
Dobject_registry.cc43 JDWP::ObjectId ObjectRegistry::Add(mirror::Object* o) { in Add()
47 JDWP::ObjectId ObjectRegistry::InternalAdd(mirror::Object* o) { in InternalAdd()
127 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) { in InternalGet()
138 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject()
150 void ObjectRegistry::DisableCollection(JDWP::ObjectId id) { in DisableCollection()
158 void ObjectRegistry::EnableCollection(JDWP::ObjectId id) { in EnableCollection()
188 bool ObjectRegistry::IsCollected(JDWP::ObjectId id) { in IsCollected()
202 void ObjectRegistry::DisposeObject(JDWP::ObjectId id, uint32_t reference_count) { in DisposeObject()
Djdwp_event.cc584 void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id) { in SuspendByPolicy()
628 ObjectId threadId) { in SendRequestAndPossiblySuspend()
633 JDWP::ObjectId thread_self_id = Dbg::GetThreadSelfId(); in SendRequestAndPossiblySuspend()
666 void JdwpState::SetWaitForEventThread(ObjectId threadId) { in SetWaitForEventThread()
758 ObjectId threadId = Dbg::GetThreadSelfId(); in PostVMStart()
790 ObjectId thread_id) in LogMatchingEventsAndThread()
876 ObjectId thread_id = 0; in PostLocationEvent()
960 ObjectId thread_id = 0; in PostFieldEvent()
976 ObjectId instance_id = registry->Add(basket.thisPtr); in PostFieldEvent()
1059 ObjectId thread_id = 0; in PostThreadChange()
[all …]
Djdwp_main.cc459 debug_thread_id_ = static_cast<ObjectId>(-1); in Run()
/art/runtime/
Ddebugger.h85 JDWP::ObjectId exception;
261 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id)
278 static JDWP::JdwpError GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply)
284 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t& tag)
288 static JDWP::JdwpError GetArrayLength(JDWP::ObjectId array_id, int& length)
290 static JDWP::JdwpError OutputArray(JDWP::ObjectId array_id, int offset, int count,
293 static JDWP::JdwpError SetArrayElements(JDWP::ObjectId array_id, int offset, int count,
297 static JDWP::ObjectId CreateString(const std::string& str)
299 static JDWP::JdwpError CreateObject(JDWP::RefTypeId class_id, JDWP::ObjectId& new_object)
302 JDWP::ObjectId& new_array)
[all …]
Ddebugger.cc434 static JDWP::JdwpError DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, Thr… in DecodeThread()
863 JDWP::JdwpError Dbg::GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id) { in GetClassObject()
918 JDWP::JdwpError Dbg::GetMonitorInfo(JDWP::ObjectId object_id, JDWP::ExpandBuf* reply) in GetMonitorInfo()
949 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, in GetOwnedMonitors()
950 std::vector<JDWP::ObjectId>& monitors, in GetOwnedMonitors()
954 std::vector<JDWP::ObjectId>* monitor_vector, in GetOwnedMonitors()
978 std::vector<JDWP::ObjectId>* monitors; in GetOwnedMonitors()
1000 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, in GetContendedMonitor()
1001 JDWP::ObjectId& contended_monitor) { in GetContendedMonitor()
1042 …::GetInstances(JDWP::RefTypeId class_id, int32_t max_count, std::vector<JDWP::ObjectId>& instances) in GetInstances()
[all …]