Home
last modified time | relevance | path

Searched refs:new_ref (Results 1 – 9 of 9) 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()
Dthread.cc3712 mirror::Object* new_ref = ref; in VisitShadowFrame() local
3713 visitor_(&new_ref, reg, this); in VisitShadowFrame()
3714 if (new_ref != ref) { in VisitShadowFrame()
3715 shadow_frame->SetVRegReference(reg, new_ref); in VisitShadowFrame()
3757 mirror::Object* new_ref = klass.Ptr(); in VisitDeclaringClass() local
3758 visitor_(&new_ref, /* vreg= */ JavaFrameRootInfo::kMethodDeclaringClass, this); in VisitDeclaringClass()
3759 if (new_ref != klass) { in VisitDeclaringClass()
3760 method->CASDeclaringClass(klass.Ptr(), new_ref->AsClass()); in VisitDeclaringClass()
3780 mirror::Object* new_ref = ref; in VisitNterpFrame() local
3781 visitor_(&new_ref, reg, this); in VisitNterpFrame()
[all …]
Dclass_linker.cc2347 ObjPtr<mirror::Class> new_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local
2349 CHECK_EQ(new_ref, old_ref); in VisitClassRoots()
2357 ObjPtr<mirror::Object> new_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local
2359 CHECK_EQ(new_ref, old_ref); in VisitClassRoots()
/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()
Dclass.cc1307 ObjPtr<Object> new_ref = ReadBarrier::BarrierForRoot(root); in VisitRoot() local
1308 if (old_ref != new_ref) { in VisitRoot()
1314 CompressedReference<Object>::FromMirrorPtr(new_ref.Ptr())); in VisitRoot()
/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()
/art/runtime/gc/collector/
Dconcurrent_copying.cc3135 mirror::Object* new_ref = to_ref; in Process() local
3146 new_ref, in Process()
3164 mirror::Object* new_ref = to_ref; in VisitRoots() local
3170 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in VisitRoots()
3183 auto new_ref = mirror::CompressedReference<mirror::Object>::FromMirrorPtr(to_ref); in MarkRoot() local
3190 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in MarkRoot()
/art/runtime/gc/space/
Dimage_space.cc1320 mirror::Object* new_ref = forward_(ref); in VisitRoot() local
1321 if (ref != new_ref) { in VisitRoot()
1322 root->Assign(new_ref); in VisitRoot()