Searched refs:old_ref (Results 1 – 7 of 7) sorted by relevance
/art/runtime/ |
D | read_barrier-inl.h | 59 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 …]
|
D | intern_table.cc | 68 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()
|
D | class_linker.cc | 2099 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/ |
D | object-readbarrier-inl.h | 214 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()
|
D | object-inl.h | 846 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()
|
D | class.cc | 1106 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/ |
D | mod_union_table.cc | 220 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()
|