Searched refs:IndirectRef (Results 1 – 13 of 13) sorted by relevance
/art/runtime/ |
D | indirect_reference_table_test.cc | 81 IndirectRef iref0 = (IndirectRef) 0x11110; in TEST_F() 88 IndirectRef iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() 91 IndirectRef iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F() 168 IndirectRef iref3 = irt.Add(cookie, obj3.Get(), &error_msg); in TEST_F() 244 IndirectRef manyRefs[kTableInitial]; in TEST_F() 312 IndirectRef iref0 = irt.Add(cookie0, obj0.Get(), &error_msg); in TEST_F() 313 IndirectRef iref1 = irt.Add(cookie0, obj1.Get(), &error_msg); in TEST_F() 314 IndirectRef iref2 = irt.Add(cookie0, obj2.Get(), &error_msg); in TEST_F() 321 IndirectRef iref3 = irt.Add(cookie1, obj3.Get(), &error_msg); in TEST_F() 343 IndirectRef iref0 = irt.Add(cookie0, obj0.Get(), &error_msg); in TEST_F() [all …]
|
D | indirect_reference_table.h | 88 typedef void* IndirectRef; typedef 251 IndirectRef Add(IRTSegmentState previous_state, 260 ObjPtr<mirror::Object> Get(IndirectRef iref) const REQUIRES_SHARED(Locks::mutator_lock_) 265 ObjPtr<mirror::Object> SynchronizedGet(IndirectRef iref) const in SynchronizedGet() 271 void Update(IndirectRef iref, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock_); 280 bool Remove(IRTSegmentState previous_state, IndirectRef iref); 330 ALWAYS_INLINE static inline IndirectRefKind GetIndirectRefKind(IndirectRef iref) { in GetIndirectRefKind() 343 static_assert(sizeof(IndirectRef) == sizeof(uintptr_t), "Unexpected IndirectRef size"); in EncodeIndex() 374 ALWAYS_INLINE static uint32_t ExtractIndex(IndirectRef iref) { in ExtractIndex() 378 IndirectRef ToIndirectRef(uint32_t table_index) const { in ToIndirectRef() [all …]
|
D | indirect_reference_table-inl.h | 36 inline bool IndirectReferenceTable::GetChecked(IndirectRef iref) const { in GetChecked() 73 IndirectRef iref, in CheckEntry() 75 IndirectRef checkRef = ToIndirectRef(idx); in CheckEntry() 90 inline ObjPtr<mirror::Object> IndirectReferenceTable::Get(IndirectRef iref) const { in Get() 100 inline void IndirectReferenceTable::Update(IndirectRef iref, ObjPtr<mirror::Object> obj) { in Update()
|
D | indirect_reference_table.cc | 241 IndirectRef IndirectReferenceTable::Add(IRTSegmentState previous_state, in Add() 296 IndirectRef result; in Add() 344 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { in Remove()
|
D | reflection.cc | 1002 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in UpdateReference()
|
D | thread.cc | 2552 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in DecodeJObject() 2594 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in IsJWeakCleared()
|
/art/runtime/jni/ |
D | java_vm_ext.h | 165 ObjPtr<mirror::Object> DecodeGlobal(IndirectRef ref) 168 void UpdateGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result) 172 ObjPtr<mirror::Object> DecodeWeakGlobal(Thread* self, IndirectRef ref) 176 ObjPtr<mirror::Object> DecodeWeakGlobalLocked(Thread* self, IndirectRef ref) 182 ObjPtr<mirror::Object> DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref) 187 bool IsWeakGlobalCleared(Thread* self, IndirectRef ref) 191 void UpdateWeakGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result)
|
D | jni_env_ext-inl.h | 29 IndirectRef ref = locals_.Add(local_ref_cookie_, obj, &error_msg); in AddLocalReference()
|
D | java_vm_ext.cc | 659 IndirectRef ref; in AddGlobalRef() 688 IndirectRef ref = weak_globals_.Add(kIRTFirstSegment, obj, &error_msg); in AddWeakGlobalRef() 784 ObjPtr<mirror::Object> JavaVMExt::DecodeGlobal(IndirectRef ref) { in DecodeGlobal() 788 void JavaVMExt::UpdateGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result) { in UpdateGlobal() 804 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobal(Thread* self, IndirectRef ref) { in DecodeWeakGlobal() 819 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobalLocked(Thread* self, IndirectRef ref) { in DecodeWeakGlobalLocked() 832 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref) { in DecodeWeakGlobalDuringShutdown() 845 bool JavaVMExt::IsWeakGlobalCleared(Thread* self, IndirectRef ref) { in IsWeakGlobalCleared() 861 void JavaVMExt::UpdateWeakGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result) { in UpdateWeakGlobal()
|
D | jni_env_ext.h | 66 …void UpdateLocal(IndirectRef iref, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock… in UpdateLocal()
|
D | jni_env_ext.cc | 114 locals_.Remove(local_ref_cookie_, reinterpret_cast<IndirectRef>(obj)); in DeleteLocalRef()
|
D | jni_internal.cc | 2698 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in GetObjectRefType()
|
D | check_jni.cc | 848 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in CheckInstance()
|