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.cc494 mirror::Object* forward_address = nullptr; in MarkNonForwardedObject() local
499 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
501 if (UNLIKELY(forward_address == nullptr)) { in MarkNonForwardedObject()
503 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
512 GetHeap()->WriteBarrierEveryFieldOf(forward_address); in MarkNonForwardedObject()
518 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
541 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
543 DCHECK(!mark_bitmap->Test(forward_address)); in MarkNonForwardedObject()
544 mark_bitmap->Set(forward_address); in MarkNonForwardedObject()
549 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
[all …]
/art/runtime/gc/
Dreference_queue.cc167 mirror::Object* forward_address = mark_object_callback(referent_addr->AsMirrorPtr(), arg); in EnqueueFinalizerReferences() local
172 ref->SetZombie<true>(forward_address); in EnqueueFinalizerReferences()
175 ref->SetZombie<false>(forward_address); in EnqueueFinalizerReferences()
Dheap.cc2136 mirror::Object* forward_address; in MarkNonForwardedObject() local
2143 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy); in MarkNonForwardedObject()
2145 to_space_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2147 GetHeap()->GetNonMovingSpace()->GetLiveBitmap()->Set(forward_address); in MarkNonForwardedObject()
2148 GetHeap()->GetNonMovingSpace()->GetMarkBitmap()->Set(forward_address); in MarkNonForwardedObject()
2154 forward_address = reinterpret_cast<mirror::Object*>(pos); in MarkNonForwardedObject()
2156 bin_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2157 bin_mark_bitmap_->Set(forward_address); in MarkNonForwardedObject()
2163 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()
2167 DCHECK_EQ(forward_address->GetReadBarrierPointer(), obj); in MarkNonForwardedObject()
[all …]