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.h68 mirror::Object* forward_address = GetForwardingAddressInFromSpace(obj); in MarkObject() local
70 if (UNLIKELY(forward_address == nullptr)) { in MarkObject()
71 forward_address = MarkNonForwardedObject(obj); in MarkObject()
72 DCHECK(forward_address != nullptr); in MarkObject()
76 LockWord::FromForwardingAddress(reinterpret_cast<size_t>(forward_address)), false); in MarkObject()
78 MarkStackPush(forward_address); in MarkObject()
80 obj_ptr->Assign(forward_address); in MarkObject()
Dsemi_space.cc483 mirror::Object* forward_address = nullptr; in MarkNonForwardedObject() local
488 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
490 if (UNLIKELY(forward_address == nullptr)) { in MarkNonForwardedObject()
492 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr); in MarkNonForwardedObject()
500 GetHeap()->WriteBarrierEveryFieldOf(forward_address); in MarkNonForwardedObject()
506 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
529 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
531 DCHECK(!mark_bitmap->Test(forward_address)); in MarkNonForwardedObject()
532 mark_bitmap->Set(forward_address); in MarkNonForwardedObject()
537 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr); in MarkNonForwardedObject()
[all …]
/art/runtime/gc/
Dreference_queue.cc133 mirror::Object* forward_address = mark_object_callback(referent_addr->AsMirrorPtr(), arg); in EnqueueFinalizerReferences() local
138 ref->SetZombie<true>(forward_address); in EnqueueFinalizerReferences()
141 ref->SetZombie<false>(forward_address); in EnqueueFinalizerReferences()
Dheap.cc1906 mirror::Object* forward_address; in MarkNonForwardedObject() local
1913 forward_address = to_space_->Alloc(self_, object_size, &bytes_allocated, nullptr); in MarkNonForwardedObject()
1915 to_space_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
1917 GetHeap()->GetNonMovingSpace()->GetLiveBitmap()->Set(forward_address); in MarkNonForwardedObject()
1918 GetHeap()->GetNonMovingSpace()->GetMarkBitmap()->Set(forward_address); in MarkNonForwardedObject()
1924 forward_address = reinterpret_cast<mirror::Object*>(pos); in MarkNonForwardedObject()
1926 bin_live_bitmap_->Set(forward_address); in MarkNonForwardedObject()
1927 bin_mark_bitmap_->Set(forward_address); in MarkNonForwardedObject()
1932 memcpy(reinterpret_cast<void*>(forward_address), obj, object_size); in MarkNonForwardedObject()
1936 DCHECK_EQ(forward_address->GetReadBarrierPointer(), obj); in MarkNonForwardedObject()
[all …]