Home
last modified time | relevance | path

Searched refs:mark_bitmap_ (Results 1 – 18 of 18) sorted by relevance

/art/runtime/gc/space/
Dspace.cc84 mark_bitmap_.reset(accounting::LargeObjectBitmap::Create("large marked objects", nullptr, in DiscontinuousSpace()
86 CHECK(mark_bitmap_.get() != nullptr); in DiscontinuousSpace()
111 if (live_bitmap != mark_bitmap_.get()) { in BindLiveToMarkBitmap()
112 accounting::ContinuousSpaceBitmap* mark_bitmap = mark_bitmap_.release(); in BindLiveToMarkBitmap()
115 mark_bitmap_.reset(live_bitmap); in BindLiveToMarkBitmap()
127 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap_.get(), new_bitmap); in UnBindBitmaps()
128 CHECK_EQ(mark_bitmap_.release(), live_bitmap_.get()); in UnBindBitmaps()
129 mark_bitmap_.reset(new_bitmap); in UnBindBitmaps()
134 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
137 live_bitmap_->SetName(mark_bitmap_->GetName()); in SwapBitmaps()
[all …]
Dmalloc_space.cc60 mark_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in MallocSpace()
63 CHECK(mark_bitmap_.get() != nullptr) << "could not create allocspace mark bitmap #" in MallocSpace()
211 mark_bitmap_->SetHeapLimit(reinterpret_cast<uintptr_t>(End())); in CreateZygoteSpace()
212 CHECK_EQ(mark_bitmap_->HeapLimit(), reinterpret_cast<uintptr_t>(End())); in CreateZygoteSpace()
216 live_bitmap_.release(), mark_bitmap_.release()); in CreateZygoteSpace()
Dspace.h353 return mark_bitmap_.get(); in GetMarkBitmap()
366 std::unique_ptr<accounting::LargeObjectBitmap> mark_bitmap_; variable
437 return mark_bitmap_.get(); in GetMarkBitmap()
445 std::unique_ptr<accounting::ContinuousSpaceBitmap> mark_bitmap_; variable
Dzygote_space.cc54 CHECK(zygote_space->mark_bitmap_.get() == nullptr); in Create()
56 zygote_space->mark_bitmap_.reset(mark_bitmap); in Create()
Dlarge_object_space.cc102 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
105 live_bitmap_->SetName(mark_bitmap_->GetName()); in SwapBitmaps()
106 mark_bitmap_->SetName(temp_name); in SwapBitmaps()
117 mark_bitmap_->CopyFrom(live_bitmap_.get()); in CopyLiveToMarked()
Dregion_space.h81 return mark_bitmap_.get(); in GetLiveBitmap()
84 return mark_bitmap_.get(); in GetMarkBitmap()
554 std::unique_ptr<accounting::ContinuousSpaceBitmap> mark_bitmap_; variable
Ddlmalloc_space.cc282 mark_bitmap_->Clear(); in Clear()
Drosalloc_space.cc362 mark_bitmap_->Clear(); in Clear()
Dregion_space.cc95 mark_bitmap_.reset( in RegionSpace()
/art/runtime/gc/collector/
Dsemi_space-inl.h69 if (!mark_bitmap_->Set(obj, slow_path)) { in MarkObject()
Dmark_compact.cc58 mark_bitmap_(nullptr), in MarkCompact()
118 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
151 if (!mark_bitmap_->Set(obj, slow_path)) { in MarkObject()
478 return mark_bitmap_->Test(object) ? object : nullptr; in IsMarked()
Dmark_sweep.cc98 mark_bitmap_(nullptr), in MarkSweep()
136 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
484 DCHECK(mark_bitmap_->Test(obj)); in MarkObjectNonNull()
499 if (!mark_bitmap_->Set(obj, visitor)) { in MarkObjectNonNull()
532 return !mark_bitmap_->AtomicTestAndSet(obj, visitor); in MarkObjectParallel()
1434 return mark_bitmap_->Test(object) ? object : nullptr; in IsMarked()
Dsemi_space.cc99 mark_bitmap_(nullptr), in SemiSpace()
161 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
769 return mark_bitmap_->Test(obj) ? obj : nullptr; in IsMarked()
Dmark_compact.h205 accounting::HeapBitmap* mark_bitmap_; variable
Dsemi_space.h221 accounting::HeapBitmap* mark_bitmap_; variable
Dmark_sweep.h315 accounting::HeapBitmap* mark_bitmap_; variable
/art/runtime/gc/
Dheap.h586 return mark_bitmap_.get(); in GetMarkBitmap()
1304 std::unique_ptr<accounting::HeapBitmap> mark_bitmap_ GUARDED_BY(Locks::heap_bitmap_lock_);
Dheap.cc307 mark_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
1020 mark_bitmap_->AddContinuousSpaceBitmap(mark_bitmap); in AddSpace()
1032 mark_bitmap_->AddLargeObjectBitmap(discontinuous_space->GetMarkBitmap()); in AddSpace()
1061 mark_bitmap_->RemoveContinuousSpaceBitmap(mark_bitmap); in RemoveSpace()
1070 mark_bitmap_->RemoveLargeObjectBitmap(discontinuous_space->GetMarkBitmap()); in RemoveSpace()