Home
last modified time | relevance | path

Searched refs:kCardSize (Results 1 – 12 of 12) 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()
110 8U * CardTable::kCardSize); in TEST_F()
113 …for (uint8_t* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += CardTable::kCardSize) { in TEST_F()
114 start_offset = (start_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F()
116 for (uint8_t* cend = HeapLimit() - delta; cend < HeapLimit(); cend += CardTable::kCardSize) { in TEST_F()
120 end_offset = (end_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F()
124 for (uint8_t* cur = start - CardTable::kCardSize; cur >= HeapBegin(); in TEST_F()
125 cur -= CardTable::kCardSize) { in TEST_F()
129 for (uint8_t* cur = end + CardTable::kCardSize; cur < HeapLimit(); in TEST_F()
[all …]
Dmod_union_table.cc341 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify()
351 uintptr_t end = start + CardTable::kCardSize; in Dump()
358 uintptr_t end = start + CardTable::kCardSize; in Dump()
382 uintptr_t end = start + CardTable::kCardSize; in UpdateAndMarkReferences()
442 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize); in ModUnionTableCardCache()
446 RoundUp(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize))); in ModUnionTableCardCache()
470 bitmap_->VisitMarkedRange(start, start + CardTable::kCardSize, scan_visitor); in operator ()()
502 0, RoundUp(space_->Size(), CardTable::kCardSize) / CardTable::kCardSize, bit_visitor); in UpdateAndMarkReferences()
508 for (uint8_t* addr = space_->Begin(); addr < AlignUp(space_->End(), CardTable::kCardSize); in Dump()
509 addr += CardTable::kCardSize) { in Dump()
[all …]
Dmod_union_table_test.cc197 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest()
199 auto* obj2 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest()
201 auto* obj3 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest()
203 auto* obj4 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest()
211 auto* other_space_ref1 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize); in RunTest()
213 auto* other_space_ref2 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize); in RunTest()
245 for (auto* ptr = space->Begin(); ptr < AlignUp(space->End(), CardTable::kCardSize); in RunTest()
246 ptr += CardTable::kCardSize) { in RunTest()
Dcard_table.cc34 constexpr size_t CardTable::kCardSize; member in art::gc::accounting::CardTable
63 size_t capacity = heap_capacity / kCardSize; in Create()
117 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(start), kCardSize); in ClearCardRange()
118 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(end), kCardSize); in ClearCardRange()
Dcard_table-inl.h59 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in Scan()
68 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
100 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
107 start += kCardSize; in Scan()
117 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
141 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in ModifyCardsAtomic()
Dremembered_set.cc143 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences()
166 auto end = start + CardTable::kCardSize; in Dump()
176 auto end = start + CardTable::kCardSize; in AssertAllDirtyCardsAreWithinSpace()
Dbitmap.cc94 template class MemoryRangeBitmap<CardTable::kCardSize>;
Dcard_table.h51 static constexpr size_t kCardSize = 1 << kCardShift; variable
Dmod_union_table.h49 typedef MemoryRangeBitmap<CardTable::kCardSize> CardBitmap;
/art/runtime/gc/space/
Dmalloc_space.cc48 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize); in MallocSpace()
167 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize); in CreateZygoteSpace()
168 DCHECK_ALIGNED(End(), accounting::CardTable::kCardSize); in CreateZygoteSpace()
/art/runtime/gc/collector/
Dmark_sweep.cc884 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects()
885 DCHECK_ALIGNED(card_begin, accounting::CardTable::kCardSize); in ScanGrayObjects()
886 DCHECK_ALIGNED(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects()
891 accounting::CardTable::kCardSize); in ScanGrayObjects()
/art/runtime/gc/
Dheap.cc2952 accounting::CardTable::kCardSize); in VerifyReference()
2984 byte_cover_begin + accounting::CardTable::kCardSize, scan_visitor); in VerifyReference()
3305 end = AlignUp(end, accounting::CardTable::kCardSize); in ProcessCards()