Home
last modified time | relevance | path

Searched refs:new_ref (Results 1 – 4 of 4) sorted by relevance

/art/runtime/
Dread_barrier-inl.h177 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()
Dintern_table.cc71 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/
Dobject-inl.h692 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/
Dmod_union_table.cc222 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()