Searched refs:old_ref (Results 1 – 9 of 9) sorted by relevance
/art/runtime/gc/collector/ |
D | mark_compact-inl.h | 228 mirror::Object* old_ref = obj->GetFieldObject< in UpdateRef() local 231 if (HasAddress(old_ref) && in UpdateRef() 232 reinterpret_cast<uint8_t*>(old_ref) < black_allocations_begin_ && in UpdateRef() 233 !moving_space_bitmap_->Test(old_ref)) { in UpdateRef() 234 mirror::Object* from_ref = GetFromSpaceAddr(old_ref); in UpdateRef() 238 LOG(FATAL) << "Not marked in the bitmap ref=" << old_ref in UpdateRef() 244 << " bitmap= " << moving_space_bitmap_->DumpMemAround(old_ref) in UpdateRef() 252 reinterpret_cast<uintptr_t>(old_ref), 128) in UpdateRef() 256 mirror::Object* new_ref = PostCompactAddress(old_ref, begin, end); in UpdateRef() 257 if (new_ref != old_ref) { in UpdateRef() [all …]
|
D | mark_compact.h | 137 mirror::Object* GetFromSpaceAddrFromBarrier(mirror::Object* old_ref) { in GetFromSpaceAddrFromBarrier() argument 139 if (HasAddress(old_ref)) { in GetFromSpaceAddrFromBarrier() 140 return GetFromSpaceAddr(old_ref); in GetFromSpaceAddrFromBarrier() 142 return old_ref; in GetFromSpaceAddrFromBarrier() 289 mirror::Object* old_ref, 306 ALWAYS_INLINE mirror::Object* PostCompactAddress(mirror::Object* old_ref, 312 ALWAYS_INLINE mirror::Object* PostCompactAddressUnchecked(mirror::Object* old_ref) const 316 ALWAYS_INLINE mirror::Object* PostCompactOldObjAddr(mirror::Object* old_ref) const 320 ALWAYS_INLINE mirror::Object* PostCompactBlackObjAddr(mirror::Object* old_ref) const
|
D | mark_compact.cc | 3009 mirror::Object* old_ref = root->AsMirrorPtr(); in VisitRoot() local 3010 DCHECK_NE(old_ref, nullptr); in VisitRoot() 3011 if (MarkCompact::HasAddress(old_ref, moving_space_begin_, moving_space_end_)) { in VisitRoot() 3012 mirror::Object* new_ref = old_ref; in VisitRoot() 3013 if (reinterpret_cast<uint8_t*>(old_ref) >= collector_->black_allocations_begin_) { in VisitRoot() 3014 new_ref = collector_->PostCompactBlackObjAddr(old_ref); in VisitRoot() 3015 } else if (collector_->live_words_bitmap_->Test(old_ref)) { in VisitRoot() 3016 DCHECK(collector_->moving_space_bitmap_->Test(old_ref)) in VisitRoot() 3017 << "ref:" << old_ref << " root:" << root; in VisitRoot() 3018 new_ref = collector_->PostCompactOldObjAddr(old_ref); in VisitRoot() [all …]
|
/art/runtime/ |
D | read_barrier-inl.h | 56 MirrorType* old_ref = ref; in Barrier() local 62 if (kAlwaysUpdateField && ref != old_ref) { in Barrier() 64 old_ref, in Barrier() 74 MirrorType* old_ref = ref; in Barrier() local 77 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) { in Barrier() 78 ref = reinterpret_cast<MirrorType*>(Mark(old_ref)); in Barrier() 80 if (ref != old_ref) { in Barrier() 82 old_ref, in Barrier() 130 MirrorType* old_ref = ref; in BarrierForRoot() local 131 ref = reinterpret_cast<MirrorType*>(Mark(old_ref)); in BarrierForRoot() [all …]
|
D | intern_table.cc | 71 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() local 74 if (new_ref != old_ref) { in VisitRoots() 79 uint32_t hash = static_cast<uint32_t>(old_ref->GetStoredHashCode()); in VisitRoots() 81 DCHECK(new_ref->Equals(old_ref)); in VisitRoots() 84 auto it = table.set_.FindWithHash(GcRoot<mirror::String>(old_ref), hash); in VisitRoots()
|
D | class_linker.cc | 2486 ObjPtr<mirror::Object> old_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local 2490 DCHECK_EQ(new_ref, old_ref); in VisitClassRoots() 2494 ObjPtr<mirror::Object> old_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots() local 2495 if (old_ref != nullptr) { in VisitClassRoots() 2496 DCHECK(old_ref->IsClass() || old_ref->IsString()); in VisitClassRoots() 2500 DCHECK_EQ(new_ref, old_ref); in VisitClassRoots()
|
/art/runtime/mirror/ |
D | object-inl.h | 676 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CasFieldObjectWithoutWriteBarrier() 680 bool success = atomic_addr->CompareAndSet(old_ref, new_ref, mode, memory_order); in CasFieldObjectWithoutWriteBarrier() 712 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CompareAndExchangeFieldObject() 716 bool success = atomic_addr->compare_exchange_strong(old_ref, new_ref, std::memory_order_seq_cst); in CompareAndExchangeFieldObject() 717 ObjPtr<Object> witness_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in CompareAndExchangeFieldObject() 742 uint32_t old_ref = atomic_addr->exchange(new_ref, std::memory_order_seq_cst); in ExchangeFieldObject() local 743 ObjPtr<Object> old_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in ExchangeFieldObject()
|
D | class.cc | 1625 ObjPtr<Object> old_ref = root->AsMirrorPtr(); in VisitRoot() local 1627 if (old_ref != new_ref) { in VisitRoot() 1632 CompressedReference<Object>::FromMirrorPtr(old_ref.Ptr()), in VisitRoot()
|
/art/runtime/gc/accounting/ |
D | mod_union_table.cc | 221 mirror::Object* old_ref = root->AsMirrorPtr(); in VisitRoot() local 222 mirror::Object* new_ref = visitor_->MarkObject(old_ref); in VisitRoot() 223 if (old_ref != new_ref) { in VisitRoot()
|