Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Dobject_registry.h48 JDWP::ObjectId id;
65 JDWP::ObjectId Add(mirror::Object* o)
76 JDWP::ObjectId Add(Handle<T> obj_h)
86 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error) in Get()
97 void DisableCollection(JDWP::ObjectId id)
100 void EnableCollection(JDWP::ObjectId id)
103 bool IsCollected(JDWP::ObjectId id)
106 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
111 jobject GetJObject(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
115 JDWP::ObjectId InternalAdd(Handle<T> obj_h)
[all …]
Djdwp.h59 typedef uint64_t ObjectId; /* any object (threadID, stringID, arrayID, etc) */ typedef
63 ObjectId ReadObjectId(const uint8_t** pBuf);
67 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } in SetObjectId()
72 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, i… in expandBufAddObjectId()
165 void AcquireJdwpTokenForEvent(ObjectId threadId) LOCKS_EXCLUDED(jdwp_token_lock_);
303 void SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id)
306 ObjectId threadId)
354 void SetWaitForJdwpToken(ObjectId threadId) LOCKS_EXCLUDED(jdwp_token_lock_);
369 ObjectId debug_thread_id_;
401 ObjectId jdwp_token_owner_thread_id_;
[all …]
Djdwp_handler.cc55 static JdwpError WriteTaggedObject(ExpandBuf* reply, ObjectId object_id) in WriteTaggedObject()
66 static JdwpError WriteTaggedObjectList(ExpandBuf* reply, const std::vector<ObjectId>& objects) in WriteTaggedObjectList()
85 ObjectId thread_id, ObjectId object_id, in RequestInvoke()
183 std::vector<ObjectId> thread_ids; in VM_AllThreads()
207 ObjectId thread_group_id = Dbg::GetSystemThreadGroupId(); in VM_TopLevelThreadGroups()
220 expandBufAdd4BE(pReply, sizeof(ObjectId)); in VM_IDSizes()
272 ObjectId string_id; in VM_CreateString()
306 ObjectId object_id = request->ReadObjectId(); in VM_DisposeObjects()
487 ObjectId class_object_id; in RT_ClassObject()
586 std::vector<ObjectId> instances; in RT_Instances()
[all …]
Dobject_registry.cc46 JDWP::ObjectId ObjectRegistry::Add(mirror::Object* o) { in Add()
57 JDWP::ObjectId ObjectRegistry::Add(Handle<T> obj_h) { in Add()
68 JDWP::ObjectId ObjectRegistry::Add(Handle<mirror::Object> obj_h);
73 JDWP::ObjectId ObjectRegistry::Add(Handle<mirror::Throwable> obj_h);
76 JDWP::ObjectId ObjectRegistry::InternalAdd(Handle<T> obj_h) { in InternalAdd()
170 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error) { in InternalGet()
183 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject()
195 void ObjectRegistry::DisableCollection(JDWP::ObjectId id) { in DisableCollection()
203 void ObjectRegistry::EnableCollection(JDWP::ObjectId id) { in EnableCollection()
233 bool ObjectRegistry::IsCollected(JDWP::ObjectId id) { in IsCollected()
[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;
Djdwp_event.cc584 void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id) { in SuspendByPolicy()
620 ObjectId threadId) { in SendRequestAndPossiblySuspend()
625 JDWP::ObjectId thread_self_id = Dbg::GetThreadSelfId(); in SendRequestAndPossiblySuspend()
661 void JdwpState::AcquireJdwpTokenForEvent(ObjectId threadId) { in AcquireJdwpTokenForEvent()
679 void JdwpState::SetWaitForJdwpToken(ObjectId threadId) { in SetWaitForJdwpToken()
767 ObjectId threadId = Dbg::GetThreadSelfId(); in PostVMStart()
786 ObjectId thread_id) in LogMatchingEventsAndThread()
892 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostLocationEvent()
954 ObjectId thread_id = Dbg::GetThreadId(basket.thread); in PostFieldEvent()
956 ObjectId instance_id = registry->Add(basket.thisPtr); in PostFieldEvent()
[all …]
Djdwp_main.cc490 debug_thread_id_ = static_cast<ObjectId>(-1); in Run()
/art/runtime/
Ddebugger.h57 DebugInvokeReq(uint32_t invoke_request_id, JDWP::ObjectId invoke_thread_id, in DebugInvokeReq()
72 const JDWP::ObjectId thread_id;
283 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId* class_object_id)
300 static JDWP::JdwpError GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply)
306 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t* tag)
310 static JDWP::JdwpError GetArrayLength(JDWP::ObjectId array_id, int32_t* length)
312 static JDWP::JdwpError OutputArray(JDWP::ObjectId array_id, int offset, int count,
315 static JDWP::JdwpError SetArrayElements(JDWP::ObjectId array_id, int offset, int count,
319 static JDWP::JdwpError CreateString(const std::string& str, JDWP::ObjectId* new_string_id)
321 static JDWP::JdwpError CreateObject(JDWP::RefTypeId class_id, JDWP::ObjectId* new_object_id)
[all …]
Ddebugger.cc473 static Thread* DecodeThread(ScopedObjectAccessUnchecked& soa, JDWP::ObjectId thread_id, in DecodeThread()
793 JDWP::JdwpError Dbg::GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId* class_object_id) { in GetClassObject()
851 JDWP::JdwpError Dbg::GetMonitorInfo(JDWP::ObjectId object_id, JDWP::ExpandBuf* reply) { in GetMonitorInfo()
882 JDWP::JdwpError Dbg::GetOwnedMonitors(JDWP::ObjectId thread_id, in GetOwnedMonitors()
883 std::vector<JDWP::ObjectId>* monitors, in GetOwnedMonitors()
887 std::vector<JDWP::ObjectId>* monitor_vector, in GetOwnedMonitors()
913 std::vector<JDWP::ObjectId>* const monitors; in GetOwnedMonitors()
932 JDWP::JdwpError Dbg::GetContendedMonitor(JDWP::ObjectId thread_id, in GetContendedMonitor()
933 JDWP::ObjectId* contended_monitor) { in GetContendedMonitor()
971 std::vector<JDWP::ObjectId>* instances) { in GetInstances()
[all …]