Searched refs:new_ref (Results 1 – 4 of 4) sorted by relevance
/art/runtime/ |
D | read_barrier-inl.h | 177 auto new_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()
|
D | intern_table.cc | 71 ObjPtr<mirror::String> new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() local 72 if (new_ref != old_ref) { in VisitRoots() 77 strong_interns_.Insert(new_ref); in VisitRoots()
|
/art/runtime/mirror/ |
D | object-inl.h | 692 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CasFieldObjectWithoutWriteBarrier() 695 return atomic_addr->CompareAndSet(old_ref, new_ref, mode, memory_order); in CasFieldObjectWithoutWriteBarrier() 723 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CompareAndExchangeFieldObject() 726 bool success = atomic_addr->compare_exchange_strong(old_ref, new_ref, std::memory_order_seq_cst); in CompareAndExchangeFieldObject() 748 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in ExchangeFieldObject() 751 uint32_t old_ref = atomic_addr->exchange(new_ref, std::memory_order_seq_cst); in ExchangeFieldObject()
|
/art/runtime/gc/accounting/ |
D | mod_union_table.cc | 222 mirror::Object* new_ref = visitor_->MarkObject(old_ref); in VisitRoot() local 223 if (old_ref != new_ref) { in VisitRoot() 224 root->Assign(new_ref); in VisitRoot()
|