Home
last modified time | relevance | path

Searched refs:IndirectRef (Results 1 – 13 of 13) sorted by relevance

/art/runtime/
Dindirect_reference_table_test.cc81 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 …]
Dindirect_reference_table.h88 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 …]
Dindirect_reference_table-inl.h36 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()
Dindirect_reference_table.cc241 IndirectRef IndirectReferenceTable::Add(IRTSegmentState previous_state, in Add()
296 IndirectRef result; in Add()
344 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { in Remove()
Dreflection.cc1044 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in UpdateReference()
Dthread.cc2558 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in DecodeJObject()
2600 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in IsJWeakCleared()
/art/runtime/jni/
Djava_vm_ext.h165 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)
Djni_env_ext-inl.h29 IndirectRef ref = locals_.Add(local_ref_cookie_, obj, &error_msg); in AddLocalReference()
Djava_vm_ext.cc668 IndirectRef ref; in AddGlobalRef()
697 IndirectRef ref = weak_globals_.Add(kIRTFirstSegment, obj, &error_msg); in AddWeakGlobalRef()
793 ObjPtr<mirror::Object> JavaVMExt::DecodeGlobal(IndirectRef ref) { in DecodeGlobal()
797 void JavaVMExt::UpdateGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result) { in UpdateGlobal()
813 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobal(Thread* self, IndirectRef ref) { in DecodeWeakGlobal()
828 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobalLocked(Thread* self, IndirectRef ref) { in DecodeWeakGlobalLocked()
841 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref) { in DecodeWeakGlobalDuringShutdown()
854 bool JavaVMExt::IsWeakGlobalCleared(Thread* self, IndirectRef ref) { in IsWeakGlobalCleared()
870 void JavaVMExt::UpdateWeakGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result) { in UpdateWeakGlobal()
Djni_env_ext.h69 …void UpdateLocal(IndirectRef iref, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock… in UpdateLocal()
Djni_env_ext.cc114 locals_.Remove(local_ref_cookie_, reinterpret_cast<IndirectRef>(obj)); in DeleteLocalRef()
Djni_internal.cc2570 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in GetObjectRefType()
Dcheck_jni.cc848 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in CheckInstance()