Home | History | Annotate | Download | only in collector

Lines Matching refs:forward_address

517   mirror::Object* forward_address = nullptr;
522 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated,
524 if (UNLIKELY(forward_address == nullptr)) {
526 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr,
535 GetHeap()->WriteBarrierEveryFieldOf(forward_address);
541 DCHECK(!live_bitmap->Test(forward_address));
563 // Mark forward_address on the live bit map.
564 live_bitmap->Set(forward_address);
565 // Mark forward_address on the mark bit map.
566 DCHECK(!mark_bitmap->Test(forward_address));
567 mark_bitmap->Set(forward_address);
572 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr,
574 if (forward_address != nullptr && to_space_live_bitmap_ != nullptr) {
575 to_space_live_bitmap_->Set(forward_address);
579 if (UNLIKELY(forward_address == nullptr)) {
580 forward_address = fallback_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated,
582 CHECK(forward_address != nullptr) << "Out of memory in the to-space and fallback space.";
585 bitmap->Set(forward_address);
593 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size);
596 forward_address->AssertReadBarrierState();
598 DCHECK(to_space_->HasAddress(forward_address) ||
599 fallback_space_->HasAddress(forward_address) ||
600 (generational_ && promo_dest_space_->HasAddress(forward_address)))
601 << forward_address << "\n" << GetHeap()->DumpSpaces();
602 return forward_address;