Home
last modified time | relevance | path

Searched refs:live_bitmap (Results 1 – 14 of 14) sorted by relevance

/art/runtime/gc/space/
Dspace.cc90 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in Sweep() local
93 if (live_bitmap == mark_bitmap) { in Sweep()
98 std::swap(live_bitmap, mark_bitmap); in Sweep()
102 *live_bitmap, *mark_bitmap, reinterpret_cast<uintptr_t>(Begin()), in Sweep()
110 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in BindLiveToMarkBitmap() local
111 if (live_bitmap != mark_bitmap_.get()) { in BindLiveToMarkBitmap()
113 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in BindLiveToMarkBitmap()
115 mark_bitmap_.reset(live_bitmap); in BindLiveToMarkBitmap()
Dzygote_space.cc43 accounting::ContinuousSpaceBitmap* live_bitmap, in Create() argument
45 DCHECK(live_bitmap != nullptr); in Create()
50 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(mem_map->Begin()), in Create()
55 zygote_space->live_bitmap_.reset(live_bitmap); in Create()
Dlarge_object_space.cc147 auto* live_bitmap = heap->GetLiveBitmap(); in Alloc() local
148 auto* space_bitmap = live_bitmap->GetContinuousSpaceBitmap(obj); in Alloc()
151 space_bitmap = live_bitmap->GetContinuousSpaceBitmap(obj_end - 1); in Alloc()
602 accounting::LargeObjectBitmap* live_bitmap = GetLiveBitmap(); in Sweep() local
605 std::swap(live_bitmap, mark_bitmap); in Sweep()
608 accounting::LargeObjectBitmap::SweepWalk(*live_bitmap, *mark_bitmap, in Sweep()
Dzygote_space.h34 accounting::ContinuousSpaceBitmap* live_bitmap,
Dimage_space.h183 accounting::ContinuousSpaceBitmap* live_bitmap,
Dimage_space.cc50 accounting::ContinuousSpaceBitmap* live_bitmap, in ImageSpace() argument
60 DCHECK(live_bitmap != nullptr); in ImageSpace()
61 live_bitmap_.reset(live_bitmap); in ImageSpace()
/art/runtime/gc/accounting/
Dspace_bitmap.cc132 void SpaceBitmap<kAlignment>::SweepWalk(const SpaceBitmap<kAlignment>& live_bitmap, in SweepWalk() argument
136 CHECK(live_bitmap.bitmap_begin_ != nullptr); in SweepWalk()
138 CHECK_EQ(live_bitmap.heap_begin_, mark_bitmap.heap_begin_); in SweepWalk()
139 CHECK_EQ(live_bitmap.bitmap_size_, mark_bitmap.bitmap_size_); in SweepWalk()
142 CHECK_GE(sweep_begin, live_bitmap.heap_begin_); in SweepWalk()
160 size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); in SweepWalk()
161 size_t end = OffsetToIndex(sweep_end - live_bitmap.heap_begin_ - 1); in SweepWalk()
162 CHECK_LT(end, live_bitmap.Size() / sizeof(intptr_t)); in SweepWalk()
163 uintptr_t* live = live_bitmap.bitmap_begin_; in SweepWalk()
168 uintptr_t ptr_base = IndexToOffset(i) + live_bitmap.heap_begin_; in SweepWalk()
Dmod_union_table.cc331 ContinuousSpaceBitmap* live_bitmap = space_->GetLiveBitmap(); in Verify() local
341 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify()
386 ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in UpdateAndMarkReferences() local
387 live_bitmap->VisitMarkedRange(start, end, add_visitor); in UpdateAndMarkReferences()
/art/runtime/gc/collector/
Dgarbage_collector.cc121 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SwapBitmaps() local
123 if (live_bitmap != nullptr && live_bitmap != mark_bitmap) { in SwapBitmaps()
124 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps()
125 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps()
Dsemi_space.cc392 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
394 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
403 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
405 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
548 accounting::ContinuousSpaceBitmap* live_bitmap = promo_dest_space_->GetLiveBitmap(); in MarkNonForwardedObject() local
549 DCHECK(live_bitmap != nullptr); in MarkNonForwardedObject()
552 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
555 DCHECK_EQ(live_bitmap, mark_bitmap); in MarkNonForwardedObject()
575 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
749 accounting::ContinuousSpaceBitmap* live_bitmap = nullptr; in ProcessMarkStack() local
[all …]
Dimmune_spaces_test.cc42 accounting::ContinuousSpaceBitmap* live_bitmap, in DummyImageSpace() argument
48 live_bitmap, in DummyImageSpace()
96 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap(std::move(live_bitmaps_.back())); in CreateImageSpace() local
133 live_bitmap.release(), in CreateImageSpace()
Dmark_sweep.cc1217 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SweepArray() local
1220 std::swap(live_bitmap, mark_bitmap); in SweepArray()
Dconcurrent_copying.cc393 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkingPhase() local
395 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkingPhase()
/art/runtime/gc/
Dheap.cc1070 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in AddSpace() local
1072 if (live_bitmap != nullptr) { in AddSpace()
1074 live_bitmap_->AddContinuousSpaceBitmap(live_bitmap); in AddSpace()
1111 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in RemoveSpace() local
1113 if (live_bitmap != nullptr) { in RemoveSpace()
1115 live_bitmap_->RemoveContinuousSpaceBitmap(live_bitmap); in RemoveSpace()
1588 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in DumpSpaces() local
1591 if (live_bitmap != nullptr) { in DumpSpaces()
1592 stream << live_bitmap << " " << *live_bitmap << "\n"; in DumpSpaces()