Home
last modified time | relevance | path

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

/art/runtime/
Dindirect_reference_table_test.cc79 IndirectRef iref0 = (IndirectRef) 0x11110; in TEST_F()
86 IndirectRef iref1 = irt.Add(cookie, obj1.Get()); in TEST_F()
89 IndirectRef iref2 = irt.Add(cookie, obj2.Get()); in TEST_F()
166 IndirectRef iref3 = irt.Add(cookie, obj3.Get()); in TEST_F()
242 IndirectRef manyRefs[kTableInitial]; in TEST_F()
309 IndirectRef iref0 = irt.Add(cookie0, obj0.Get()); in TEST_F()
310 IndirectRef iref1 = irt.Add(cookie0, obj1.Get()); in TEST_F()
311 IndirectRef iref2 = irt.Add(cookie0, obj2.Get()); in TEST_F()
318 IndirectRef iref3 = irt.Add(cookie1, obj3.Get()); in TEST_F()
340 IndirectRef iref0 = irt.Add(cookie0, obj0.Get()); in TEST_F()
[all …]
Dindirect_reference_table.h87 typedef void* IndirectRef; typedef
248 IndirectRef Add(IRTSegmentState previous_state, ObjPtr<mirror::Object> obj)
255 ObjPtr<mirror::Object> Get(IndirectRef iref) const REQUIRES_SHARED(Locks::mutator_lock_)
260 ObjPtr<mirror::Object> SynchronizedGet(IndirectRef iref) const in SynchronizedGet()
266 void Update(IndirectRef iref, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock_);
275 bool Remove(IRTSegmentState previous_state, IndirectRef iref);
323 ALWAYS_INLINE static inline IndirectRefKind GetIndirectRefKind(IndirectRef iref) { in GetIndirectRefKind()
336 static_assert(sizeof(IndirectRef) == sizeof(uintptr_t), "Unexpected IndirectRef size"); in EncodeIndex()
367 ALWAYS_INLINE static uint32_t ExtractIndex(IndirectRef iref) { in ExtractIndex()
371 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()
Djava_vm_ext.h158 ObjPtr<mirror::Object> DecodeGlobal(IndirectRef ref)
161 void UpdateGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result)
165 ObjPtr<mirror::Object> DecodeWeakGlobal(Thread* self, IndirectRef ref)
169 ObjPtr<mirror::Object> DecodeWeakGlobalLocked(Thread* self, IndirectRef ref)
175 ObjPtr<mirror::Object> DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref)
180 bool IsWeakGlobalCleared(Thread* self, IndirectRef ref)
184 void UpdateWeakGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result)
Djni_env_ext-inl.h28 IndirectRef ref = locals.Add(local_ref_cookie, obj); in AddLocalReference()
Djava_vm_ext.cc591 IndirectRef ref = globals_.Add(kIRTFirstSegment, obj); in AddGlobalRef()
609 IndirectRef ref = weak_globals_.Add(kIRTFirstSegment, obj); in AddWeakGlobalRef()
698 ObjPtr<mirror::Object> JavaVMExt::DecodeGlobal(IndirectRef ref) { in DecodeGlobal()
702 void JavaVMExt::UpdateGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result) { in UpdateGlobal()
718 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobal(Thread* self, IndirectRef ref) { in DecodeWeakGlobal()
733 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobalLocked(Thread* self, IndirectRef ref) { in DecodeWeakGlobalLocked()
746 ObjPtr<mirror::Object> JavaVMExt::DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref) { in DecodeWeakGlobalDuringShutdown()
759 bool JavaVMExt::IsWeakGlobalCleared(Thread* self, IndirectRef ref) { in IsWeakGlobalCleared()
775 void JavaVMExt::UpdateWeakGlobal(Thread* self, IndirectRef ref, ObjPtr<mirror::Object> result) { in UpdateWeakGlobal()
Dindirect_reference_table.cc239 IndirectRef IndirectReferenceTable::Add(IRTSegmentState previous_state, in Add()
287 IndirectRef result; in Add()
335 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { in Remove()
Djni_env_ext.cc107 locals.Remove(local_ref_cookie, reinterpret_cast<IndirectRef>(obj)); in DeleteLocalRef()
Dreflection.cc928 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in UpdateReference()
Dthread.cc2294 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in DecodeJObject()
2336 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in IsJWeakCleared()
Djni_internal.cc2475 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in GetObjectRefType()
Dcheck_jni.cc778 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in CheckInstance()