Home
last modified time | relevance | path

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

/art/runtime/gc/accounting/
Dcard_table_test.cc65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); in PseudoRandomCard()
69 for (const uint8_t* addr = HeapBegin(); addr != HeapLimit(); addr += CardTable::kCardSize) { in FillRandom()
111 8U * CardTable::kCardSize); in TEST_F()
114 …for (uint8_t* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += CardTable::kCardSize) { in TEST_F()
115 start_offset = (start_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F()
117 for (uint8_t* cend = HeapLimit() - delta; cend < HeapLimit(); cend += CardTable::kCardSize) { in TEST_F()
121 end_offset = (end_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F()
125 for (uint8_t* cur = start - CardTable::kCardSize; cur >= HeapBegin(); in TEST_F()
126 cur -= CardTable::kCardSize) { in TEST_F()
130 for (uint8_t* cur = end + CardTable::kCardSize; cur < HeapLimit(); in TEST_F()
[all …]
Dmod_union_table.cc362 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify()
372 uintptr_t end = start + CardTable::kCardSize; in Dump()
379 uintptr_t end = start + CardTable::kCardSize; in Dump()
393 uintptr_t end = start + CardTable::kCardSize; in VisitObjects()
404 uintptr_t end = start + CardTable::kCardSize; in VisitObjects()
428 uintptr_t end = start + CardTable::kCardSize; in UpdateAndMarkReferences()
488 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize); in ModUnionTableCardCache()
492 RoundUp(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize))); in ModUnionTableCardCache()
516 bitmap_->VisitMarkedRange(start, start + CardTable::kCardSize, scan_visitor); in operator ()()
552 0, RoundUp(space_->Size(), CardTable::kCardSize) / CardTable::kCardSize, bit_visitor); in UpdateAndMarkReferences()
[all …]
Dcard_table.cc35 constexpr size_t CardTable::kCardSize; member in art::gc::accounting::CardTable
64 size_t capacity = heap_capacity / kCardSize; in Create()
109 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(start), kCardSize); in ClearCardRange()
110 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(end), kCardSize); in ClearCardRange()
Dmod_union_table_test.cc199 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest()
201 auto* obj2 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest()
203 auto* obj3 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest()
205 auto* obj4 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest()
213 auto* other_space_ref1 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize); in RunTest()
215 auto* other_space_ref2 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize); in RunTest()
247 for (auto* ptr = space->Begin(); ptr < AlignUp(space->End(), CardTable::kCardSize); in RunTest()
248 ptr += CardTable::kCardSize) { in RunTest()
Dcard_table-inl.h64 uint8_t* const card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in Scan()
74 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
107 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
111 start += kCardSize; in Scan()
121 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
141 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in ModifyCardsAtomic()
Dremembered_set.cc146 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences()
169 auto end = start + CardTable::kCardSize; in Dump()
179 auto end = start + CardTable::kCardSize; in AssertAllDirtyCardsAreWithinSpace()
Dbitmap.cc99 template class MemoryRangeBitmap<CardTable::kCardSize>;
Dcard_table.h50 static constexpr size_t kCardSize = 1 << kCardShift; variable
Dmod_union_table.h57 typedef MemoryRangeBitmap<CardTable::kCardSize> CardBitmap;
/art/runtime/gc/space/
Dmalloc_space.cc63 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize); in MallocSpace()
187 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize); in CreateZygoteSpace()
188 DCHECK_ALIGNED(End(), accounting::CardTable::kCardSize); in CreateZygoteSpace()
Dimage_space.cc725 RoundUp(image_objects.End(), gc::accounting::CardTable::kCardSize)); in Init()
/art/runtime/gc/collector/
Dmark_sweep.cc908 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects()
909 DCHECK_ALIGNED(card_begin, accounting::CardTable::kCardSize); in ScanGrayObjects()
910 DCHECK_ALIGNED(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects()
915 accounting::CardTable::kCardSize); in ScanGrayObjects()
Dconcurrent_copying.cc872 AlignDown(space->End(), accounting::CardTable::kCardSize)); in GrayAllNewlyDirtyImmuneObjects()
/art/runtime/gc/
Dheap.cc2948 accounting::CardTable::kCardSize); in VerifyReference()
2980 byte_cover_begin + accounting::CardTable::kCardSize, scan_visitor); in VerifyReference()
3304 end = AlignUp(end, accounting::CardTable::kCardSize); in ProcessCards()