Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dspace.cc87 mark_bitmap_.reset(accounting::LargeObjectBitmap::Create("large marked objects", nullptr, in DiscontinuousSpace()
89 CHECK(mark_bitmap_.get() != nullptr); in DiscontinuousSpace()
113 if (live_bitmap != mark_bitmap_.get()) { in BindLiveToMarkBitmap()
114 accounting::ContinuousSpaceBitmap* mark_bitmap = mark_bitmap_.release(); in BindLiveToMarkBitmap()
117 mark_bitmap_.reset(live_bitmap); in BindLiveToMarkBitmap()
129 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap_.get(), new_bitmap); in UnBindBitmaps()
130 CHECK_EQ(mark_bitmap_.release(), live_bitmap_.get()); in UnBindBitmaps()
131 mark_bitmap_.reset(new_bitmap); in UnBindBitmaps()
136 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
139 live_bitmap_->SetName(mark_bitmap_->GetName()); in SwapBitmaps()
[all …]
Dmalloc_space.cc61 mark_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in MallocSpace()
64 CHECK(mark_bitmap_.get() != nullptr) << "could not create allocspace mark bitmap #" in MallocSpace()
212 mark_bitmap_->SetHeapLimit(reinterpret_cast<uintptr_t>(End())); in CreateZygoteSpace()
213 CHECK_EQ(mark_bitmap_->HeapLimit(), reinterpret_cast<uintptr_t>(End())); in CreateZygoteSpace()
217 live_bitmap_.release(), mark_bitmap_.release()); in CreateZygoteSpace()
Dzygote_space.cc56 CHECK(zygote_space->mark_bitmap_.get() == nullptr); in Create()
58 zygote_space->mark_bitmap_.reset(mark_bitmap); in Create()
Dspace.h352 return mark_bitmap_.get(); in GetMarkBitmap()
365 std::unique_ptr<accounting::LargeObjectBitmap> mark_bitmap_; variable
443 return mark_bitmap_.get(); in GetMarkBitmap()
451 std::unique_ptr<accounting::ContinuousSpaceBitmap> mark_bitmap_; variable
Dlarge_object_space.cc107 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
110 live_bitmap_->SetName(mark_bitmap_->GetName()); in SwapBitmaps()
111 mark_bitmap_->SetName(temp_name); in SwapBitmaps()
122 mark_bitmap_->CopyFrom(live_bitmap_.get()); in CopyLiveToMarked()
Dregion_space.h96 return mark_bitmap_.get(); in GetLiveBitmap()
99 return mark_bitmap_.get(); in GetMarkBitmap()
604 std::unique_ptr<accounting::ContinuousSpaceBitmap> mark_bitmap_; variable
Ddlmalloc_space.cc284 mark_bitmap_->Clear(); in Clear()
Drosalloc_space.cc364 mark_bitmap_->Clear(); in Clear()
Dregion_space.cc104 mark_bitmap_.reset( in RegionSpace()
/art/runtime/gc/collector/
Dsemi_space-inl.h68 if (!mark_bitmap_->Set(obj, slow_path)) { in MarkObject()
Dmark_compact.cc60 mark_bitmap_(nullptr), in MarkCompact()
120 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
153 if (!mark_bitmap_->Set(obj, slow_path)) { in MarkObject()
480 return mark_bitmap_->Test(object) ? object : nullptr; in IsMarked()
Dmark_sweep.cc99 mark_bitmap_(nullptr), in MarkSweep()
137 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
507 DCHECK(mark_bitmap_->Test(obj)); in MarkObjectNonNull()
522 if (!mark_bitmap_->Set(obj, visitor)) { in MarkObjectNonNull()
555 return !mark_bitmap_->AtomicTestAndSet(obj, visitor); in MarkObjectParallel()
1457 return mark_bitmap_->Test(object) ? object : nullptr; in IsMarked()
Dsemi_space.h220 accounting::HeapBitmap* mark_bitmap_; variable
Dmark_compact.h204 accounting::HeapBitmap* mark_bitmap_; variable
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_sweep.h314 accounting::HeapBitmap* mark_bitmap_; variable
/art/runtime/gc/
Dheap.h595 return mark_bitmap_.get(); in GetMarkBitmap()
1300 std::unique_ptr<accounting::HeapBitmap> mark_bitmap_ GUARDED_BY(Locks::heap_bitmap_lock_);
Dheap.cc310 mark_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
931 mark_bitmap_->AddContinuousSpaceBitmap(mark_bitmap); in AddSpace()
943 mark_bitmap_->AddLargeObjectBitmap(discontinuous_space->GetMarkBitmap()); in AddSpace()
972 mark_bitmap_->RemoveContinuousSpaceBitmap(mark_bitmap); in RemoveSpace()
981 mark_bitmap_->RemoveLargeObjectBitmap(discontinuous_space->GetMarkBitmap()); in RemoveSpace()