Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dspace.cc93 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in Sweep() local
96 if (live_bitmap == mark_bitmap) { in Sweep()
101 std::swap(live_bitmap, mark_bitmap); in Sweep()
105 *live_bitmap, *mark_bitmap, reinterpret_cast<uintptr_t>(Begin()), in Sweep()
112 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in BindLiveToMarkBitmap() local
113 if (live_bitmap != mark_bitmap_.get()) { in BindLiveToMarkBitmap()
115 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in BindLiveToMarkBitmap()
117 mark_bitmap_.reset(live_bitmap); in BindLiveToMarkBitmap()
Dzygote_space.cc46 accounting::ContinuousSpaceBitmap* live_bitmap, in Create() argument
48 DCHECK(live_bitmap != nullptr); in Create()
53 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(mem_map.Begin()), in Create()
58 zygote_space->live_bitmap_.reset(live_bitmap); in Create()
Dzygote_space.h35 accounting::ContinuousSpaceBitmap* live_bitmap,
Dimage_space.h199 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap,
Dlarge_object_space.cc615 accounting::LargeObjectBitmap* live_bitmap = GetLiveBitmap(); in Sweep() local
618 std::swap(live_bitmap, mark_bitmap); in Sweep()
622 accounting::LargeObjectBitmap::SweepWalk(*live_bitmap, *mark_bitmap, in Sweep()
/art/runtime/gc/accounting/
Dspace_bitmap.cc156 void SpaceBitmap<kAlignment>::SweepWalk(const SpaceBitmap<kAlignment>& live_bitmap, in SweepWalk() argument
160 CHECK(live_bitmap.bitmap_begin_ != nullptr); in SweepWalk()
162 CHECK_EQ(live_bitmap.heap_begin_, mark_bitmap.heap_begin_); in SweepWalk()
163 CHECK_EQ(live_bitmap.bitmap_size_, mark_bitmap.bitmap_size_); in SweepWalk()
166 CHECK_GE(sweep_begin, live_bitmap.heap_begin_); in SweepWalk()
173 Atomic<uintptr_t>* live = live_bitmap.bitmap_begin_; in SweepWalk()
175 const size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); in SweepWalk()
176 const size_t end = OffsetToIndex(sweep_end - live_bitmap.heap_begin_ - 1); in SweepWalk()
177 CHECK_LT(end, live_bitmap.Size() / sizeof(intptr_t)); in SweepWalk()
198 uintptr_t ptr_base = IndexToOffset(i) + live_bitmap.heap_begin_; in SweepWalk()
Dmod_union_table.cc352 ContinuousSpaceBitmap* live_bitmap = space_->GetLiveBitmap(); in Verify() local
362 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify()
390 ContinuousSpaceBitmap* live_bitmap = space_->GetLiveBitmap(); in VisitObjects() local
394 live_bitmap->VisitMarkedRange(start, in VisitObjects()
405 live_bitmap->VisitMarkedRange(start, in VisitObjects()
432 ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in UpdateAndMarkReferences() local
433 live_bitmap->VisitMarkedRange(start, end, add_visitor); in UpdateAndMarkReferences()
/art/runtime/gc/collector/
Dsemi_space.cc374 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
375 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
387 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
388 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
538 accounting::ContinuousSpaceBitmap* live_bitmap = promo_dest_space_->GetLiveBitmap(); in MarkNonForwardedObject() local
539 DCHECK(live_bitmap != nullptr); in MarkNonForwardedObject()
542 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
545 DCHECK_EQ(live_bitmap, mark_bitmap); in MarkNonForwardedObject()
565 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
738 accounting::ContinuousSpaceBitmap* live_bitmap = nullptr; in ProcessMarkStack() local
[all …]
Dgarbage_collector.cc198 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SwapBitmaps() local
200 if (live_bitmap != nullptr && live_bitmap != mark_bitmap) { in SwapBitmaps()
201 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps()
202 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps()
Dimmune_spaces_test.cc44 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap, in DummyImageSpace() argument
50 std::move(live_bitmap), in DummyImageSpace()
99 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap(std::move(live_bitmaps_.back())); in CreateImageSpace() local
131 std::move(live_bitmap), in CreateImageSpace()
Dmark_sweep.cc1240 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SweepArray() local
1243 std::swap(live_bitmap, mark_bitmap); in SweepArray()
/art/runtime/gc/
Dheap.cc1031 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in AddSpace() local
1035 if (live_bitmap != nullptr && !space->IsRegionSpace()) { in AddSpace()
1037 live_bitmap_->AddContinuousSpaceBitmap(live_bitmap); in AddSpace()
1074 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in RemoveSpace() local
1076 if (live_bitmap != nullptr && !space->IsRegionSpace()) { in RemoveSpace()
1078 live_bitmap_->RemoveContinuousSpaceBitmap(live_bitmap); in RemoveSpace()
1619 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in DumpSpaces() local
1622 if (live_bitmap != nullptr) { in DumpSpaces()
1623 stream << live_bitmap << " " << *live_bitmap << "\n"; in DumpSpaces()
/art/dex2oat/linker/
Dimage_writer.cc2377 gc::accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in CalculateNewObjectOffsets() local
2378 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in CalculateNewObjectOffsets()