Searched refs:new_ref (Results 1 – 10 of 10) sorted by relevance
/aosp12/art/runtime/ |
H A 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()
|
H A 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() 3839 if (new_ref != klass) { in VisitDeclaringClass() 3860 mirror::Object* new_ref = ref; in VisitNterpFrame() local 3862 if (new_ref != ref) { in VisitNterpFrame() 3863 ref_addr->Assign(new_ref); in VisitNterpFrame() 3865 int_addr->Assign(new_ref); in VisitNterpFrame() 3910 if (ref != new_ref) { in VisitQuickFrameWithVregCallback() 3958 if (ref != new_ref) { in VisitQuickFrameWithVregCallback() [all …]
|
H A 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()
|
H A 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()
|
/aosp12/frameworks/base/tools/aapt2/link/ |
H A D | ReferenceLinker.cpp | 445 auto new_ref = std::make_unique<Reference>(reference); in LinkReference() local 446 new_ref->id = s->id; in LinkReference() 447 new_ref->is_dynamic = s->is_dynamic; in LinkReference() 448 return std::move(new_ref); in LinkReference()
|
/aosp12/art/runtime/mirror/ |
H A 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()
|
H A 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()
|
/aosp12/art/runtime/gc/accounting/ |
H A 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()
|
/aosp12/art/runtime/gc/collector/ |
H A 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()
|
/aosp12/art/runtime/gc/space/ |
H A 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()
|