Home
last modified time | relevance | path

Searched refs:reference_ (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dhandle.h38 ConstHandle() : reference_(nullptr) { in ConstHandle()
41 ALWAYS_INLINE ConstHandle(const ConstHandle<T>& handle) : reference_(handle.reference_) { in ConstHandle()
45 reference_ = handle.reference_;
49 ALWAYS_INLINE explicit ConstHandle(StackReference<T>* reference) : reference_(reference) { in ConstHandle()
61 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
65 if (UNLIKELY(reference_->AsMirrorPtr() == nullptr)) { in ToJObject()
69 return reinterpret_cast<jobject>(reference_); in ToJObject()
75 : reference_(reference) { in ConstHandle()
79 : reference_(handle.reference_) { in ConstHandle()
83 return reference_; in GetReference()
[all …]
/art/runtime/mirror/
Dobject_reference.h41 reference_ = Compress(other); in Assign()
45 reference_ = 0; in Clear()
49 return reference_; in AsVRegValue()
55 : reference_(Compress(mirror_ptr)) { in SHARED_LOCKS_REQUIRED()
66 uintptr_t as_bits = kPoisonReferences ? -reference_ : reference_; in UnCompress()
73 uint32_t reference_; variable
Dobject-inl.h149 if (UNLIKELY(atomic_rb_ptr->LoadRelaxed() != expected_ref.reference_)) { in AtomicSetReadBarrierPointer()
153 } while (!atomic_rb_ptr->CompareExchangeWeakSequentiallyConsistent(expected_ref.reference_, in AtomicSetReadBarrierPointer()
154 new_ref.reference_)); in AtomicSetReadBarrierPointer()
155 DCHECK_EQ(new_ref.reference_, atomic_rb_ptr->LoadRelaxed()); in AtomicSetReadBarrierPointer()
703 bool success = atomic_addr->CompareExchangeWeakSequentiallyConsistent(old_ref.reference_, in CasFieldWeakSequentiallyConsistentObject()
704 new_ref.reference_); in CasFieldWeakSequentiallyConsistentObject()
735 bool success = atomic_addr->CompareExchangeStrongSequentiallyConsistent(old_ref.reference_, in CasFieldStrongSequentiallyConsistentObject()
736 new_ref.reference_); in CasFieldStrongSequentiallyConsistentObject()