Lines Matching refs:old_ref
59 MirrorType* old_ref = ref; in Barrier() local
65 if (kAlwaysUpdateField && ref != old_ref) { in Barrier()
67 old_ref, in Barrier()
80 MirrorType* old_ref = ref; in Barrier() local
83 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) { in Barrier()
84 ref = reinterpret_cast<MirrorType*>(Mark(old_ref)); in Barrier()
86 if (ref != old_ref) { in Barrier()
88 old_ref, in Barrier()
134 MirrorType* old_ref = ref; in BarrierForRoot() local
135 ref = reinterpret_cast<MirrorType*>(Mark(old_ref)); in BarrierForRoot()
137 if (ref != old_ref) { in BarrierForRoot()
139 atomic_root->CompareAndSetStrongRelaxed(old_ref, ref); in BarrierForRoot()
175 auto old_ref = mirror::CompressedReference<MirrorType>::FromMirrorPtr(ref); in BarrierForRoot() local
179 if (new_ref.AsMirrorPtr() != old_ref.AsMirrorPtr()) { in BarrierForRoot()
182 atomic_root->CompareAndSetStrongRelaxed(old_ref, new_ref); in BarrierForRoot()