Lines Matching refs:forward_address
518 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()
575 if (forward_address != nullptr && to_space_live_bitmap_ != nullptr) { in MarkNonForwardedObject()
576 to_space_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
580 if (UNLIKELY(forward_address == nullptr)) { in MarkNonForwardedObject()
581 forward_address = fallback_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
583 CHECK(forward_address != nullptr) << "Out of memory in the to-space and fallback space."; in MarkNonForwardedObject()
586 bitmap->Set(forward_address); in MarkNonForwardedObject()
594 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size); in MarkNonForwardedObject()
597 forward_address->AssertReadBarrierState(); in MarkNonForwardedObject()
599 DCHECK(to_space_->HasAddress(forward_address) || in MarkNonForwardedObject()
600 fallback_space_->HasAddress(forward_address) || in MarkNonForwardedObject()
601 (generational_ && promo_dest_space_->HasAddress(forward_address))) in MarkNonForwardedObject()
602 << forward_address << "\n" << GetHeap()->DumpSpaces(); in MarkNonForwardedObject()
603 return forward_address; in MarkNonForwardedObject()