Home
last modified time | relevance | path

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

/art/runtime/gc/collector/
Dconcurrent_copying.cc1138 mirror::Object* expected_ref = ref; in Process() local
1141 if (expected_ref != in Process()
1147 offset, expected_ref, new_ref)); in Process()
1164 mirror::Object* expected_ref = ref; in VisitRoots() local
1167 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() local
1196 } while (!addr->CompareExchangeWeakSequentiallyConsistent(expected_ref, new_ref)); in VisitRoots()
/art/runtime/mirror/
Dobject-inl.h178 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()