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.cc431 mirror::Object* forward_address = to_space_->AllocThreadUnsafe(self_, in MarkNonForwardedObject() local
437 if (forward_address != nullptr && to_space_live_bitmap_ != nullptr) { in MarkNonForwardedObject()
438 to_space_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
441 if (UNLIKELY(forward_address == nullptr)) { in MarkNonForwardedObject()
442 forward_address = fallback_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
444 CHECK(forward_address != nullptr) << "Out of memory in the to-space and fallback space."; in MarkNonForwardedObject()
447 bitmap->Set(forward_address); in MarkNonForwardedObject()
455 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size); in MarkNonForwardedObject()
458 forward_address->AssertReadBarrierState(); in MarkNonForwardedObject()
460 DCHECK(to_space_->HasAddress(forward_address) || fallback_space_->HasAddress(forward_address)) 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.cc2244 mirror::Object* forward_address; in MarkNonForwardedObject() local
2251 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy); in MarkNonForwardedObject()
2253 to_space_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2255 GetHeap()->GetNonMovingSpace()->GetLiveBitmap()->Set(forward_address); in MarkNonForwardedObject()
2256 GetHeap()->GetNonMovingSpace()->GetMarkBitmap()->Set(forward_address); in MarkNonForwardedObject()
2262 forward_address = reinterpret_cast<mirror::Object*>(pos); in MarkNonForwardedObject()
2264 bin_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2265 bin_mark_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2272 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()
2275 forward_address->AssertReadBarrierState(); in MarkNonForwardedObject()
[all …]