Searched refs:old_ref (Results 1 – 6 of 6) 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 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() [all …]
|
D | intern_table.cc | 69 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() local 72 if (new_ref != old_ref) { in VisitRoots() 76 strong_interns_.Remove(old_ref); in VisitRoots()
|
D | class_linker.cc | 2141 ObjPtr<mirror::Class> old_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local 2145 CHECK_EQ(new_ref, old_ref); in VisitClassRoots() 2149 ObjPtr<mirror::Object> old_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local 2150 if (old_ref != nullptr) { in VisitClassRoots() 2151 DCHECK(old_ref->IsClass()); in VisitClassRoots() 2155 CHECK_EQ(new_ref, old_ref); in VisitClassRoots()
|
/art/runtime/mirror/ |
D | object-inl.h | 691 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CasFieldObjectWithoutWriteBarrier() 695 return atomic_addr->CompareAndSet(old_ref, new_ref, mode, memory_order); in CasFieldObjectWithoutWriteBarrier() 722 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CompareAndExchangeFieldObject() 726 bool success = atomic_addr->compare_exchange_strong(old_ref, new_ref, std::memory_order_seq_cst); in CompareAndExchangeFieldObject() 727 ObjPtr<Object> witness_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in CompareAndExchangeFieldObject() 751 uint32_t old_ref = atomic_addr->exchange(new_ref, std::memory_order_seq_cst); in ExchangeFieldObject() local 752 ObjPtr<Object> old_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in ExchangeFieldObject()
|
D | class.cc | 1275 ObjPtr<Object> old_ref = root->AsMirrorPtr(); in VisitRoot() local 1277 if (old_ref != new_ref) { in VisitRoot() 1282 CompressedReference<Object>::FromMirrorPtr(old_ref.Ptr()), in VisitRoot()
|
/art/runtime/gc/accounting/ |
D | mod_union_table.cc | 221 mirror::Object* old_ref = root->AsMirrorPtr(); in VisitRoot() local 222 mirror::Object* new_ref = visitor_->MarkObject(old_ref); in VisitRoot() 223 if (old_ref != new_ref) { in VisitRoot()
|