Searched refs:kCardSize (Results 1 - 13 of 13) sorted by relevance

/art/runtime/gc/accounting/
H A Dcard_table_test.cc65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize);
69 for (const uint8_t* addr = HeapBegin(); addr != HeapLimit(); addr += CardTable::kCardSize) {
110 8U * CardTable::kCardSize);
113 for (uint8_t* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += CardTable::kCardSize) {
114 start_offset = (start_offset + kObjectAlignment) % CardTable::kCardSize;
116 for (uint8_t* cend = HeapLimit() - delta; cend < HeapLimit(); cend += CardTable::kCardSize) {
120 end_offset = (end_offset + kObjectAlignment) % CardTable::kCardSize;
124 for (uint8_t* cur = start - CardTable::kCardSize; cur >= HeapBegin();
125 cur -= CardTable::kCardSize) {
129 for (uint8_t* cur = end + CardTable::kCardSize; cu
[all...]
H A Dcard_table.cc34 constexpr size_t CardTable::kCardSize; member in class:art::gc::accounting::CardTable
63 size_t capacity = heap_capacity / kCardSize;
106 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(start), kCardSize); local
107 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(end), kCardSize); local
H A Dmod_union_table.cc360 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor);
370 uintptr_t end = start + CardTable::kCardSize;
377 uintptr_t end = start + CardTable::kCardSize;
391 uintptr_t end = start + CardTable::kCardSize;
402 uintptr_t end = start + CardTable::kCardSize;
426 uintptr_t end = start + CardTable::kCardSize;
486 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize); member in class:art::gc::accounting::CardTable
490 RoundUp(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize)));
514 bitmap_->VisitMarkedRange(start, start + CardTable::kCardSize, scan_visitor);
550 0, RoundUp(space_->Size(), CardTable::kCardSize) / CardTabl
[all...]
H A Dmod_union_table_test.cc198 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize);
200 auto* obj2 = AllocObjectArray(self, space, CardTable::kCardSize);
202 auto* obj3 = AllocObjectArray(self, space, CardTable::kCardSize);
204 auto* obj4 = AllocObjectArray(self, space, CardTable::kCardSize);
212 auto* other_space_ref1 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize);
214 auto* other_space_ref2 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize);
246 for (auto* ptr = space->Begin(); ptr < AlignUp(space->End(), CardTable::kCardSize);
247 ptr += CardTable::kCardSize) {
H A Dcard_table-inl.h62 uint8_t* const card_end = CardFromAddr(AlignUp(scan_end, kCardSize));
72 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
101 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
105 start += kCardSize;
115 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
142 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize));
H A Dremembered_set.cc146 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor);
169 auto end = start + CardTable::kCardSize;
179 auto end = start + CardTable::kCardSize;
H A Dbitmap.cc96 template class MemoryRangeBitmap<CardTable::kCardSize>;
H A Dcard_table.h51 static constexpr size_t kCardSize = 1 << kCardShift; member in class:art::gc::accounting::CardTable
123 // Clear a range of cards that covers start to end, start and end must be aligned to kCardSize.
H A Dmod_union_table.h49 typedef MemoryRangeBitmap<CardTable::kCardSize> CardBitmap;
/art/runtime/gc/space/
H A Dmalloc_space.cc52 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize);
171 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize);
172 DCHECK_ALIGNED(End(), accounting::CardTable::kCardSize); member in class:art::gc::space::accounting::CardTable
/art/runtime/gc/collector/
H A Dmark_sweep.cc883 card_end = AlignUp(card_end, accounting::CardTable::kCardSize);
884 DCHECK_ALIGNED(card_begin, accounting::CardTable::kCardSize);
885 DCHECK_ALIGNED(card_end, accounting::CardTable::kCardSize);
890 accounting::CardTable::kCardSize);
H A Dconcurrent_copying.cc618 AlignDown(space->End(), accounting::CardTable::kCardSize));
/art/runtime/gc/
H A Dheap.cc2984 accounting::CardTable::kCardSize);
3016 byte_cover_begin + accounting::CardTable::kCardSize, scan_visitor);
3339 end = AlignUp(end, accounting::CardTable::kCardSize);

Completed in 306 milliseconds