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()
81 void DisableCollection(JDWP::ObjectId id)
84 void EnableCollection(JDWP::ObjectId id)
87 bool IsCollected(JDWP::ObjectId id)
90 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
98 jobject GetJObject(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
101 JDWP::ObjectId InternalAdd(mirror::Object* o)
105 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.cc42 JDWP::ObjectId ObjectRegistry::Add(mirror::Object* o) { in Add()
46 JDWP::ObjectId ObjectRegistry::InternalAdd(mirror::Object* o) { in InternalAdd()
132 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) { in InternalGet()
143 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject()
155 void ObjectRegistry::DisableCollection(JDWP::ObjectId id) { in DisableCollection()
163 void ObjectRegistry::EnableCollection(JDWP::ObjectId id) { in EnableCollection()
193 bool ObjectRegistry::IsCollected(JDWP::ObjectId id) { in IsCollected()
207 void ObjectRegistry::DisposeObject(JDWP::ObjectId id, uint32_t reference_count) { in DisposeObject()
Djdwp_event.cc572 void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id) { in SuspendByPolicy()
616 ObjectId threadId) { in SendRequestAndPossiblySuspend()
621 JDWP::ObjectId thread_self_id = Dbg::GetThreadSelfId(); in SendRequestAndPossiblySuspend()
654 void JdwpState::SetWaitForEventThread(ObjectId threadId) { in SetWaitForEventThread()
746 ObjectId threadId = Dbg::GetThreadSelfId(); in PostVMStart()
778 ObjectId thread_id) in LogMatchingEventsAndThread()
864 ObjectId thread_id = 0; in PostLocationEvent()
948 ObjectId thread_id = 0; in PostFieldEvent()
964 ObjectId instance_id = registry->Add(basket.thisPtr); in PostFieldEvent()
1047 ObjectId thread_id = 0; in PostThreadChange()
[all …]
Djdwp_main.cc459 debug_thread_id_ = static_cast<ObjectId>(-1); in Run()
/art/runtime/
Ddebugger.h83 JDWP::ObjectId exception;
257 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id)
274 static JDWP::JdwpError GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply)
280 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t& tag)
284 static JDWP::JdwpError GetArrayLength(JDWP::ObjectId array_id, int& length)
286 static JDWP::JdwpError OutputArray(JDWP::ObjectId array_id, int offset, int count,
289 static JDWP::JdwpError SetArrayElements(JDWP::ObjectId array_id, int offset, int count,
293 static JDWP::ObjectId CreateString(const std::string& str)
295 static JDWP::JdwpError CreateObject(JDWP::RefTypeId class_id, JDWP::ObjectId& new_object)
298 JDWP::ObjectId& new_array)
[all …]
Ddebugger.cc432 static JDWP::JdwpError DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, Thr… in DecodeThread()
851 JDWP::JdwpError Dbg::GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id) { in GetClassObject()
906 JDWP::JdwpError Dbg::GetMonitorInfo(JDWP::ObjectId object_id, JDWP::ExpandBuf* reply) in GetMonitorInfo()
937 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, in GetOwnedMonitors()
938 std::vector<JDWP::ObjectId>& monitors, in GetOwnedMonitors()
942 std::vector<JDWP::ObjectId>* monitor_vector, in GetOwnedMonitors()
966 std::vector<JDWP::ObjectId>* monitors; in GetOwnedMonitors()
988 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, in GetContendedMonitor()
989 JDWP::ObjectId& contended_monitor) { in GetContendedMonitor()
1030 …::GetInstances(JDWP::RefTypeId class_id, int32_t max_count, std::vector<JDWP::ObjectId>& instances) in GetInstances()
[all …]