Searched refs:card_addr (Results 1 – 7 of 7) sorted by relevance
142 for (uint8_t* const card_addr : dirty_cards_) { in UpdateAndMarkReferences()144 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in UpdateAndMarkReferences()152 remove_card_set.insert(card_addr); in UpdateAndMarkReferences()158 for (uint8_t* const card_addr : remove_card_set) { in UpdateAndMarkReferences()159 DCHECK(dirty_cards_.find(card_addr) != dirty_cards_.end()); in UpdateAndMarkReferences()160 dirty_cards_.erase(card_addr); in UpdateAndMarkReferences()167 for (const uint8_t* card_addr : dirty_cards_) { in Dump() local168 auto start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump()177 for (const uint8_t* card_addr : dirty_cards_) { in AssertAllDirtyCardsAreWithinSpace() local178 auto start = reinterpret_cast<uint8_t*>(card_table->AddrFromCard(card_addr)); in AssertAllDirtyCardsAreWithinSpace()
207 inline void* CardTable::AddrFromCard(const uint8_t *card_addr) const { in AddrFromCard() argument208 DCHECK(IsValidCard(card_addr)) in AddrFromCard()209 << " card_addr: " << reinterpret_cast<const void*>(card_addr) in AddrFromCard()212 uintptr_t offset = card_addr - biased_begin_; in AddrFromCard()217 uint8_t *card_addr = biased_begin_ + (reinterpret_cast<uintptr_t>(addr) >> kCardShift); in CardFromAddr() local219 DCHECK(IsValidCard(card_addr)) << "addr: " << addr in CardFromAddr()220 << " card_addr: " << reinterpret_cast<void*>(card_addr); in CardFromAddr()221 return card_addr; in CardFromAddr()224 inline bool CardTable::IsValidCard(const uint8_t* card_addr) const { in IsValidCard() argument227 return card_addr >= begin && card_addr < end; in IsValidCard()
90 uint8_t* card_addr = card_table_->CardFromAddr(addr); in TEST_F() local91 EXPECT_EQ(*card_addr, CardTable::kCardDirty); in TEST_F()92 *card_addr = CardTable::kCardClean; in TEST_F()93 EXPECT_EQ(*card_addr, CardTable::kCardClean); in TEST_F()
122 uint8_t* card_addr = biased_begin_ + ((uintptr_t)addr >> kCardShift); in CheckAddrIsInCardTable() local129 << " card_addr: " << reinterpret_cast<void*>(card_addr) in CheckAddrIsInCardTable()
138 void* AddrFromCard(const uint8_t *card_addr) const ALWAYS_INLINE;149 bool IsValidCard(const uint8_t* card_addr) const ALWAYS_INLINE;
370 for (uint8_t* card_addr : cleared_cards_) { in Dump()371 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump()377 const uint8_t* card_addr = ref_pair.first; in Dump() local378 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump()
3009 uint8_t* card_addr = card_table->CardFromAddr(obj); in VerifyReference() local3011 << offset << "\n card value = " << static_cast<int>(*card_addr); in VerifyReference()3040 void* cover_begin = card_table->AddrFromCard(card_addr); in VerifyReference()3043 LOG(ERROR) << "Card " << reinterpret_cast<void*>(card_addr) << " covers " << cover_begin in VerifyReference()3072 uint8_t* byte_cover_begin = reinterpret_cast<uint8_t*>(card_table->AddrFromCard(card_addr)); in VerifyReference()