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.h48 mirror::Object* forward_address = GetForwardingAddressInFromSpace(obj); in MarkObject() local
50 if (UNLIKELY(forward_address == nullptr)) { in MarkObject()
51 forward_address = MarkNonForwardedObject(obj); in MarkObject()
52 DCHECK(forward_address != nullptr); in MarkObject()
56 LockWord::FromForwardingAddress(reinterpret_cast<size_t>(forward_address)), false); in MarkObject()
58 MarkStackPush(forward_address); in MarkObject()
60 obj_ptr->Assign(forward_address); in MarkObject()
Dsemi_space.cc518 mirror::Object* forward_address = nullptr; in MarkNonForwardedObject() local
523 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
525 if (UNLIKELY(forward_address == nullptr)) { in MarkNonForwardedObject()
527 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
536 WriteBarrier::ForEveryFieldWrite(forward_address); in MarkNonForwardedObject()
542 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
565 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
567 DCHECK(!mark_bitmap->Test(forward_address)); in MarkNonForwardedObject()
568 mark_bitmap->Set(forward_address); in MarkNonForwardedObject()
573 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
[all …]
/art/runtime/gc/
Dreference_queue.cc163 ObjPtr<mirror::Object> forward_address = collector->MarkObject(referent_addr->AsMirrorPtr()); in EnqueueFinalizerReferences() local
166 ref->SetZombie<true>(forward_address); in EnqueueFinalizerReferences()
169 ref->SetZombie<false>(forward_address); in EnqueueFinalizerReferences()
Dheap.cc2387 mirror::Object* forward_address; in MarkNonForwardedObject() local
2394 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy); in MarkNonForwardedObject()
2396 to_space_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2398 GetHeap()->GetNonMovingSpace()->GetLiveBitmap()->Set(forward_address); in MarkNonForwardedObject()
2399 GetHeap()->GetNonMovingSpace()->GetMarkBitmap()->Set(forward_address); in MarkNonForwardedObject()
2405 forward_address = reinterpret_cast<mirror::Object*>(pos); in MarkNonForwardedObject()
2407 bin_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2408 bin_mark_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2415 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()
2418 forward_address->AssertReadBarrierState(); in MarkNonForwardedObject()
[all …]