Searched refs:expected_ref (Results 1 – 2 of 2) sorted by relevance
1138 mirror::Object* expected_ref = ref; in Process() local1141 if (expected_ref != in Process()1147 offset, expected_ref, new_ref)); in Process()1164 mirror::Object* expected_ref = ref; in VisitRoots() local1167 if (expected_ref != addr->LoadRelaxed()) { in VisitRoots()1171 } while (!addr->CompareExchangeWeakSequentiallyConsistent(expected_ref, new_ref)); in VisitRoots()1189 auto expected_ref = mirror::CompressedReference<mirror::Object>::FromMirrorPtr(ref); in VisitRoots() local1196 } while (!addr->CompareExchangeWeakSequentiallyConsistent(expected_ref, new_ref)); in VisitRoots()
178 HeapReference<Object> expected_ref(HeapReference<Object>::FromMirrorPtr(expected_rb_ptr)); in AtomicSetReadBarrierPointer()181 if (UNLIKELY(atomic_rb_ptr->LoadRelaxed() != expected_ref.reference_)) { in AtomicSetReadBarrierPointer()185 } while (!atomic_rb_ptr->CompareExchangeWeakSequentiallyConsistent(expected_ref.reference_, in AtomicSetReadBarrierPointer()