Searched refs:new_ref (Results 1 – 9 of 9) 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()
|
D | thread.cc | 3712 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 …]
|
D | class_linker.cc | 2347 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/ |
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()
|
D | class.cc | 1307 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/ |
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()
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 3135 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/ |
D | image_space.cc | 1320 mirror::Object* new_ref = forward_(ref); in VisitRoot() local 1321 if (ref != new_ref) { in VisitRoot() 1322 root->Assign(new_ref); in VisitRoot()
|