Lines Matching refs:old_ref
56 MirrorType* old_ref = ref; in Barrier() local
62 if (kAlwaysUpdateField && ref != old_ref) { in Barrier()
64 old_ref, in Barrier()
74 MirrorType* old_ref = ref; in Barrier() local
77 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) { in Barrier()
78 ref = reinterpret_cast<MirrorType*>(Mark(old_ref)); in Barrier()
80 if (ref != old_ref) { in Barrier()
82 old_ref, in Barrier()
130 MirrorType* old_ref = ref; in BarrierForRoot() local
131 ref = reinterpret_cast<MirrorType*>(Mark(old_ref)); in BarrierForRoot()
133 if (ref != old_ref) { in BarrierForRoot()
135 atomic_root->CompareAndSetStrongRelaxed(old_ref, ref); in BarrierForRoot()
179 auto old_ref = mirror::CompressedReference<MirrorType>::FromMirrorPtr(ref); in BarrierForRoot() local
183 if (new_ref.AsMirrorPtr() != old_ref.AsMirrorPtr()) { in BarrierForRoot()
186 atomic_root->CompareAndSetStrongRelaxed(old_ref, new_ref); in BarrierForRoot()