/art/runtime/gc/collector/ |
D | mark_compact-inl.h | 252 mirror::Object* new_ref = PostCompactAddress(old_ref); in UpdateRef() local 253 if (new_ref != old_ref) { in UpdateRef() 257 new_ref); in UpdateRef() 298 mirror::Object* new_ref = PostCompactAddress(old_ref); in UpdateRoot() local 299 if (old_ref != new_ref) { in UpdateRoot() 300 root->Assign(new_ref); in UpdateRoot() 308 mirror::Object* new_ref = PostCompactAddress(old_ref); in UpdateRoot() local 309 if (old_ref != new_ref) { in UpdateRoot() 310 *root = new_ref; in UpdateRoot()
|
D | concurrent_copying.cc | 3252 mirror::Object* new_ref = to_ref; in Process() local 3263 new_ref, in Process() 3281 mirror::Object* new_ref = to_ref; in VisitRoots() local 3287 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in VisitRoots() 3300 auto new_ref = mirror::CompressedReference<mirror::Object>::FromMirrorPtr(to_ref); in MarkRoot() local 3307 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in MarkRoot()
|
D | mark_compact.cc | 2589 mirror::Object* new_ref = old_ref; in VisitRoot() local 2591 new_ref = collector_->PostCompactBlackObjAddr(old_ref); in VisitRoot() 2594 new_ref = collector_->PostCompactOldObjAddr(old_ref); in VisitRoot() 2596 if (old_ref != new_ref) { in VisitRoot() 2597 root->Assign(new_ref); in VisitRoot()
|
/art/runtime/ |
D | intern_table.cc | 72 ObjPtr<mirror::String> new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() local 73 if (new_ref != old_ref) { in VisitRoots() 77 DCHECK(new_ref != nullptr); in VisitRoots() 79 DCHECK_EQ(hash, static_cast<uint32_t>(new_ref->GetStoredHashCode())); in VisitRoots() 80 DCHECK(new_ref->Equals(old_ref)); in VisitRoots() 85 *it = GcRoot<mirror::String>(new_ref); in VisitRoots()
|
D | read_barrier-inl.h | 181 auto new_ref = mirror::CompressedReference<MirrorType>::FromMirrorPtr(ref); in BarrierForRoot() local 183 if (new_ref.AsMirrorPtr() != old_ref.AsMirrorPtr()) { in BarrierForRoot() 186 atomic_root->CompareAndSetStrongRelaxed(old_ref, new_ref); in BarrierForRoot()
|
D | thread.cc | 4052 mirror::Object* new_ref = ref; in VisitShadowFrame() local 4053 visitor_(&new_ref, reg, this); in VisitShadowFrame() 4054 if (new_ref != ref) { in VisitShadowFrame() 4055 shadow_frame->SetVRegReference(reg, new_ref); in VisitShadowFrame() 4100 mirror::Object* new_ref = klass.Ptr(); in VisitDeclaringClass() local 4101 visitor_(&new_ref, /* vreg= */ JavaFrameRootInfo::kMethodDeclaringClass, this); in VisitDeclaringClass() 4102 if (new_ref != klass) { in VisitDeclaringClass() 4103 method->CASDeclaringClass(klass.Ptr(), new_ref->AsClass()); in VisitDeclaringClass() 4123 mirror::Object* new_ref = ref; in VisitNterpFrame() local 4124 visitor_(&new_ref, reg, this); in VisitNterpFrame() [all …]
|
D | class_linker.cc | 2415 ObjPtr<mirror::Class> new_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local 2417 CHECK_EQ(new_ref, old_ref); in VisitClassRoots() 2425 ObjPtr<mirror::Object> new_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local 2427 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 | 1622 ObjPtr<Object> new_ref = ReadBarrier::BarrierForRoot(root); in VisitRoot() local 1623 if (old_ref != new_ref) { in VisitRoot() 1629 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/jni/ |
D | local_reference_table_test.cc | 819 IndirectRef new_ref = lrt.Add(cookie0, c, &error_msg); in TEST_F() local 820 ASSERT_TRUE(new_ref != nullptr); in TEST_F() 1007 IndirectRef new_ref = lrt.Add(cookie0, c, &error_msg); in TEST_F() local 1008 ASSERT_TRUE(new_ref != nullptr); in TEST_F() 1009 ASSERT_NE(new_ref, removed); in TEST_F() 1010 ASSERT_EQ(new_ref, refs[0]); in TEST_F()
|
/art/runtime/gc/space/ |
D | image_space.cc | 1166 mirror::Object* new_ref = forward_(ref); in VisitRoot() local 1167 if (ref != new_ref) { in VisitRoot() 1168 root->Assign(new_ref); in VisitRoot()
|