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.cc3792 mirror::Object* new_ref = ref; in VisitShadowFrame() local
3793 visitor_(&new_ref, reg, this); in VisitShadowFrame()
3794 if (new_ref != ref) { in VisitShadowFrame()
3795 shadow_frame->SetVRegReference(reg, new_ref); in VisitShadowFrame()
3837 mirror::Object* new_ref = klass.Ptr(); in VisitDeclaringClass() local
3838 visitor_(&new_ref, /* vreg= */ JavaFrameRootInfo::kMethodDeclaringClass, this); in VisitDeclaringClass()
3839 if (new_ref != klass) { in VisitDeclaringClass()
3840 method->CASDeclaringClass(klass.Ptr(), new_ref->AsClass()); in VisitDeclaringClass()
3860 mirror::Object* new_ref = ref; in VisitNterpFrame() local
3861 visitor_(&new_ref, reg, this); in VisitNterpFrame()
[all …]
Dclass_linker.cc2143 ObjPtr<mirror::Class> new_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local
2145 CHECK_EQ(new_ref, old_ref); in VisitClassRoots()
2153 ObjPtr<mirror::Object> new_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local
2155 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.cc1276 ObjPtr<Object> new_ref = ReadBarrier::BarrierForRoot(root); in VisitRoot() local
1277 if (old_ref != new_ref) { in VisitRoot()
1283 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.cc3214 mirror::Object* new_ref = to_ref; in Process() local
3225 new_ref, in Process()
3243 mirror::Object* new_ref = to_ref; in VisitRoots() local
3249 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in VisitRoots()
3262 auto new_ref = mirror::CompressedReference<mirror::Object>::FromMirrorPtr(to_ref); in MarkRoot() local
3269 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in MarkRoot()
/art/runtime/gc/space/
Dimage_space.cc1096 mirror::Object* new_ref = forward_(ref); in VisitRoot() local
1097 if (ref != new_ref) { in VisitRoot()
1098 root->Assign(new_ref); in VisitRoot()