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.h64 mirror::Object* forward_address = GetForwardingAddressInFromSpace(obj); in MarkObject() local
66 if (UNLIKELY(forward_address == nullptr)) { in MarkObject()
67 forward_address = MarkNonForwardedObject(obj); in MarkObject()
68 DCHECK(forward_address != nullptr); in MarkObject()
72 LockWord::FromForwardingAddress(reinterpret_cast<size_t>(forward_address)), false); in MarkObject()
74 MarkStackPush(forward_address); in MarkObject()
76 obj_ptr->Assign(forward_address); in MarkObject()
Dsemi_space.cc528 mirror::Object* forward_address = nullptr; in MarkNonForwardedObject() local
533 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
535 if (UNLIKELY(forward_address == nullptr)) { in MarkNonForwardedObject()
537 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
546 GetHeap()->WriteBarrierEveryFieldOf(forward_address); in MarkNonForwardedObject()
552 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
575 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
577 DCHECK(!mark_bitmap->Test(forward_address)); in MarkNonForwardedObject()
578 mark_bitmap->Set(forward_address); in MarkNonForwardedObject()
583 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
[all …]
/art/runtime/gc/
Dreference_queue.cc162 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.cc2372 mirror::Object* forward_address; in MarkNonForwardedObject() local
2379 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy); in MarkNonForwardedObject()
2381 to_space_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2383 GetHeap()->GetNonMovingSpace()->GetLiveBitmap()->Set(forward_address); in MarkNonForwardedObject()
2384 GetHeap()->GetNonMovingSpace()->GetMarkBitmap()->Set(forward_address); in MarkNonForwardedObject()
2390 forward_address = reinterpret_cast<mirror::Object*>(pos); in MarkNonForwardedObject()
2392 bin_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2393 bin_mark_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2399 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()
2403 DCHECK_EQ(forward_address->GetReadBarrierPointer(), obj); in MarkNonForwardedObject()
[all …]