Searched refs:expected_ref (Results 1 – 2 of 2) sorted by relevance
1639 mirror::Object* expected_ref = ref; in Process() local1642 if (expected_ref != in Process()1648 false, false, kVerifyNone>(offset, expected_ref, new_ref)); in Process()1662 mirror::Object* expected_ref = ref; in VisitRoots() local1665 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() local1687 } while (!addr->CompareExchangeWeakRelaxed(expected_ref, new_ref)); in MarkRoot()
198 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()