Home
last modified time | relevance | path

Searched refs:forward_address (Results 1 – 4 of 4) sorted by relevance

/art/runtime/gc/collector/
Dsemi_space-inl.h49 mirror::Object* forward_address = GetForwardingAddressInFromSpace(obj); in MarkObject() local
51 if (UNLIKELY(forward_address == nullptr)) { in MarkObject()
52 forward_address = MarkNonForwardedObject(obj); in MarkObject()
53 DCHECK(forward_address != nullptr); in MarkObject()
57 LockWord::FromForwardingAddress(reinterpret_cast<size_t>(forward_address)), false); in MarkObject()
59 MarkStackPush(forward_address); in MarkObject()
61 obj_ptr->Assign(forward_address); in MarkObject()
Dsemi_space.cc517 mirror::Object* forward_address = nullptr; in MarkNonForwardedObject() local
522 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
524 if (UNLIKELY(forward_address == nullptr)) { in MarkNonForwardedObject()
526 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
535 GetHeap()->WriteBarrierEveryFieldOf(forward_address); in MarkNonForwardedObject()
541 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
564 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
566 DCHECK(!mark_bitmap->Test(forward_address)); in MarkNonForwardedObject()
567 mark_bitmap->Set(forward_address); in MarkNonForwardedObject()
572 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
[all …]
/art/runtime/gc/
Dreference_queue.cc162 ObjPtr<mirror::Object> forward_address = collector->MarkObject(referent_addr->AsMirrorPtr()); in EnqueueFinalizerReferences() local
165 ref->SetZombie<true>(forward_address); in EnqueueFinalizerReferences()
168 ref->SetZombie<false>(forward_address); in EnqueueFinalizerReferences()
Dheap.cc2224 mirror::Object* forward_address; in MarkNonForwardedObject() local
2231 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy); in MarkNonForwardedObject()
2233 to_space_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2235 GetHeap()->GetNonMovingSpace()->GetLiveBitmap()->Set(forward_address); in MarkNonForwardedObject()
2236 GetHeap()->GetNonMovingSpace()->GetMarkBitmap()->Set(forward_address); in MarkNonForwardedObject()
2242 forward_address = reinterpret_cast<mirror::Object*>(pos); in MarkNonForwardedObject()
2244 bin_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2245 bin_mark_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2251 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()
2254 forward_address->AssertReadBarrierState(); in MarkNonForwardedObject()
[all …]