Home
last modified time | relevance | path

Searched refs:expected_ref (Results 1 – 2 of 2) sorted by relevance

/art/runtime/gc/collector/
Dconcurrent_copying.cc1639 mirror::Object* expected_ref = ref; in Process() local
1642 if (expected_ref != in Process()
1648 false, false, kVerifyNone>(offset, expected_ref, new_ref)); in Process()
1662 mirror::Object* expected_ref = ref; in VisitRoots() local
1665 if (expected_ref != addr->LoadRelaxed()) { in VisitRoots()
1669 } while (!addr->CompareExchangeWeakRelaxed(expected_ref, new_ref)); in VisitRoots()
1679 auto expected_ref = mirror::CompressedReference<mirror::Object>::FromMirrorPtr(ref); in MarkRoot() local
1687 } while (!addr->CompareExchangeWeakRelaxed(expected_ref, new_ref)); in MarkRoot()
/art/runtime/mirror/
Dobject-inl.h198 HeapReference<Object> expected_ref(HeapReference<Object>::FromMirrorPtr(expected_rb_ptr)); in AtomicSetReadBarrierPointer()
201 if (UNLIKELY(atomic_rb_ptr->LoadRelaxed() != expected_ref.reference_)) { in AtomicSetReadBarrierPointer()
205 } while (!atomic_rb_ptr->CompareExchangeWeakSequentiallyConsistent(expected_ref.reference_, in AtomicSetReadBarrierPointer()