Home
last modified time | relevance | path

Searched refs:live_bitmap (Results 1 – 15 of 15) 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.cc45 accounting::ContinuousSpaceBitmap* live_bitmap, in Create() argument
47 DCHECK(live_bitmap != nullptr); in Create()
52 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(mem_map->Begin()), in Create()
57 zygote_space->live_bitmap_.reset(live_bitmap); in Create()
Dzygote_space.h34 accounting::ContinuousSpaceBitmap* live_bitmap,
Dimage_space.h186 accounting::ContinuousSpaceBitmap* live_bitmap,
Dlarge_object_space.cc597 accounting::LargeObjectBitmap* live_bitmap = GetLiveBitmap(); in Sweep() local
600 std::swap(live_bitmap, mark_bitmap); in Sweep()
604 accounting::LargeObjectBitmap::SweepWalk(*live_bitmap, *mark_bitmap, in Sweep()
Dimage_space.cc66 accounting::ContinuousSpaceBitmap* live_bitmap, in ImageSpace() argument
76 DCHECK(live_bitmap != nullptr); in ImageSpace()
77 live_bitmap_.reset(live_bitmap); in ImageSpace()
/art/runtime/gc/accounting/
Dspace_bitmap.cc153 void SpaceBitmap<kAlignment>::SweepWalk(const SpaceBitmap<kAlignment>& live_bitmap, in SweepWalk() argument
157 CHECK(live_bitmap.bitmap_begin_ != nullptr); in SweepWalk()
159 CHECK_EQ(live_bitmap.heap_begin_, mark_bitmap.heap_begin_); in SweepWalk()
160 CHECK_EQ(live_bitmap.bitmap_size_, mark_bitmap.bitmap_size_); in SweepWalk()
163 CHECK_GE(sweep_begin, live_bitmap.heap_begin_); in SweepWalk()
181 size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); in SweepWalk()
182 size_t end = OffsetToIndex(sweep_end - live_bitmap.heap_begin_ - 1); in SweepWalk()
183 CHECK_LT(end, live_bitmap.Size() / sizeof(intptr_t)); in SweepWalk()
184 Atomic<uintptr_t>* live = live_bitmap.bitmap_begin_; in SweepWalk()
189 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/
Dgarbage_collector.cc131 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SwapBitmaps() local
133 if (live_bitmap != nullptr && live_bitmap != mark_bitmap) { in SwapBitmaps()
134 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps()
135 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps()
Dsemi_space.cc372 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
373 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
385 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
386 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
536 accounting::ContinuousSpaceBitmap* live_bitmap = promo_dest_space_->GetLiveBitmap(); in MarkNonForwardedObject() local
537 DCHECK(live_bitmap != nullptr); in MarkNonForwardedObject()
540 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
543 DCHECK_EQ(live_bitmap, mark_bitmap); in MarkNonForwardedObject()
563 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
736 accounting::ContinuousSpaceBitmap* live_bitmap = nullptr; in ProcessMarkStack() local
[all …]
Dimmune_spaces_test.cc44 accounting::ContinuousSpaceBitmap* live_bitmap, in DummyImageSpace() argument
50 live_bitmap, in DummyImageSpace()
98 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap(std::move(live_bitmaps_.back())); in CreateImageSpace() local
135 live_bitmap.release(), in CreateImageSpace()
Dconcurrent_copying.cc526 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in VerifyGrayImmuneObjects() local
528 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in VerifyGrayImmuneObjects()
803 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkingPhase() local
810 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkingPhase()
1701 accounting::LargeObjectBitmap* const live_bitmap = los->GetLiveBitmap(); in MarkZygoteLargeObjects() local
1705 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(range.first), in MarkZygoteLargeObjects()
Dmark_sweep.cc1239 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SweepArray() local
1242 std::swap(live_bitmap, mark_bitmap); in SweepArray()
/art/runtime/gc/
Dheap.cc924 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in AddSpace() local
928 if (live_bitmap != nullptr && !space->IsRegionSpace()) { in AddSpace()
930 live_bitmap_->AddContinuousSpaceBitmap(live_bitmap); in AddSpace()
967 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in RemoveSpace() local
969 if (live_bitmap != nullptr && !space->IsRegionSpace()) { in RemoveSpace()
971 live_bitmap_->RemoveContinuousSpaceBitmap(live_bitmap); in RemoveSpace()
1471 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in DumpSpaces() local
1474 if (live_bitmap != nullptr) { in DumpSpaces()
1475 stream << live_bitmap << " " << *live_bitmap << "\n"; in DumpSpaces()
/art/dex2oat/linker/
Dimage_writer.cc1747 gc::accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in CalculateNewObjectOffsets() local
1748 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in CalculateNewObjectOffsets()