Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Dobject_registry.h49 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 …]
Djdwp.h61 typedef uint64_t ObjectId; /* any object (threadID, stringID, arrayID, etc) */ typedef
65 ObjectId ReadObjectId(const uint8_t** pBuf);
69 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } in SetObjectId()
74 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, i… in expandBufAddObjectId()
173 void AcquireJdwpTokenForEvent(ObjectId threadId) REQUIRES(!jdwp_token_lock_);
311 void SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id)
314 ObjectId threadId)
358 void SetWaitForJdwpToken(ObjectId threadId) REQUIRES(!jdwp_token_lock_);
373 ObjectId debug_thread_id_;
405 ObjectId jdwp_token_owner_thread_id_;
[all …]
Dobject_registry.cc53 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 …]
Djdwp_handler.cc59 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()
308 ObjectId object_id = request->ReadObjectId(); in VM_DisposeObjects()
489 ObjectId class_object_id; in RT_ClassObject()
593 std::vector<ObjectId> instances; in RT_Instances()
[all …]
Djdwp_request.cc102 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()
Djdwp_event.h45 ObjectId threadId;
76 ObjectId threadId;
82 ObjectId objectId;
Djdwp_event.cc624 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 …]
Djdwp_main.cc613 debug_thread_id_ = static_cast<ObjectId>(-1); in Run()
/art/runtime/
Ddebugger.h78 JDWP::ObjectId invoke_thread_id, in DebugInvokeReq()
102 const JDWP::ObjectId thread_id;
300 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId* class_object_id)
317 static JDWP::JdwpError GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply)
326 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t* tag)
330 static JDWP::JdwpError GetArrayLength(JDWP::ObjectId array_id, int32_t* length)
332 static JDWP::JdwpError OutputArray(JDWP::ObjectId array_id,
337 static JDWP::JdwpError SetArrayElements(JDWP::ObjectId array_id, int offset, int count,
341 static JDWP::JdwpError CreateString(const std::string& str, JDWP::ObjectId* new_string_id)
343 static JDWP::JdwpError CreateObject(JDWP::RefTypeId class_id, JDWP::ObjectId* new_object_id)
[all …]
Ddebugger.cc446 static Thread* DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, in DecodeThread()
791 JDWP::JdwpError Dbg::GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId* class_object_id) { in GetClassObject()
849 JDWP::JdwpError Dbg::GetMonitorInfo(JDWP::ObjectId object_id, JDWP::ExpandBuf* reply) { in GetMonitorInfo()
880 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, in GetOwnedMonitors()
881 std::vector<JDWP::ObjectId>* monitors, in GetOwnedMonitors()
885 std::vector<JDWP::ObjectId>* monitor_vector, in GetOwnedMonitors()
911 std::vector<JDWP::ObjectId>* const monitors; in GetOwnedMonitors()
930 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, in GetContendedMonitor()
931 JDWP::ObjectId* contended_monitor) { in GetContendedMonitor()
970 std::vector<JDWP::ObjectId>* instances) { in GetInstances()
[all …]