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 | 3792 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 …]
|
D | class_linker.cc | 2143 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/ |
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 | 1276 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/ |
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 | 3214 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/ |
D | image_space.cc | 1096 mirror::Object* new_ref = forward_(ref); in VisitRoot() local 1097 if (ref != new_ref) { in VisitRoot() 1098 root->Assign(new_ref); in VisitRoot()
|