Home
last modified time | relevance | path

Searched refs:old_ref (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dread_barrier-inl.h59 MirrorType* old_ref = ref; in Barrier() local
65 if (kAlwaysUpdateField && ref != old_ref) { in Barrier()
67 offset, old_ref, ref); in Barrier()
77 MirrorType* old_ref = ref; in Barrier() local
80 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) { in Barrier()
81 ref = reinterpret_cast<MirrorType*>(Mark(old_ref)); in Barrier()
83 if (ref != old_ref) { in Barrier()
85 offset, old_ref, ref); in Barrier()
128 MirrorType* old_ref = ref; in BarrierForRoot() local
129 ref = reinterpret_cast<MirrorType*>(Mark(old_ref)); in BarrierForRoot()
[all …]
Dintern_table.cc68 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() local
71 if (new_ref != old_ref) { in VisitRoots()
75 strong_interns_.Remove(old_ref); in VisitRoots()
Dclass_linker.cc2099 ObjPtr<mirror::Class> old_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local
2103 CHECK_EQ(new_ref, old_ref); in VisitClassRoots()
2107 ObjPtr<mirror::Object> old_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local
2108 if (old_ref != nullptr) { in VisitClassRoots()
2109 DCHECK(old_ref->IsClass()); in VisitClassRoots()
2113 CHECK_EQ(new_ref, old_ref); in VisitClassRoots()
/art/runtime/mirror/
Dobject-readbarrier-inl.h214 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldStrongRelaxedObjectWithoutWriteBarrier()
219 bool success = atomic_addr->CompareExchangeStrongRelaxed(old_ref.reference_, in CasFieldStrongRelaxedObjectWithoutWriteBarrier()
244 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldStrongReleaseObjectWithoutWriteBarrier()
249 bool success = atomic_addr->CompareExchangeStrongRelease(old_ref.reference_, in CasFieldStrongReleaseObjectWithoutWriteBarrier()
Dobject-inl.h846 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier()
851 bool success = atomic_addr->CompareExchangeWeakSequentiallyConsistent(old_ref.reference_, in CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier()
888 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier()
893 bool success = atomic_addr->CompareExchangeStrongSequentiallyConsistent(old_ref.reference_, in CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier()
918 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldWeakRelaxedObjectWithoutWriteBarrier()
923 bool success = atomic_addr->CompareExchangeWeakRelaxed(old_ref.reference_, in CasFieldWeakRelaxedObjectWithoutWriteBarrier()
948 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldWeakReleaseObjectWithoutWriteBarrier()
953 bool success = atomic_addr->CompareExchangeWeakRelease(old_ref.reference_, in CasFieldWeakReleaseObjectWithoutWriteBarrier()
Dclass.cc1106 ObjPtr<Object> old_ref = root->AsMirrorPtr(); in VisitRoot() local
1108 if (old_ref != new_ref) { in VisitRoot()
1113 CompressedReference<Object>::FromMirrorPtr(old_ref.Ptr()), in VisitRoot()
/art/runtime/gc/accounting/
Dmod_union_table.cc220 mirror::Object* old_ref = root->AsMirrorPtr(); in VisitRoot() local
221 mirror::Object* new_ref = visitor_->MarkObject(old_ref); in VisitRoot()
222 if (old_ref != new_ref) { in VisitRoot()