Searched refs:card_addr (Results 1 – 7 of 7) sorted by relevance
132 for (uint8_t* const card_addr : dirty_cards_) { in UpdateAndMarkReferences()134 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in UpdateAndMarkReferences()142 remove_card_set.insert(card_addr); in UpdateAndMarkReferences()148 for (uint8_t* const card_addr : remove_card_set) { in UpdateAndMarkReferences()149 DCHECK(dirty_cards_.find(card_addr) != dirty_cards_.end()); in UpdateAndMarkReferences()150 dirty_cards_.erase(card_addr); in UpdateAndMarkReferences()157 for (const uint8_t* card_addr : dirty_cards_) { in Dump() local158 auto start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump()167 for (const uint8_t* card_addr : dirty_cards_) { in AssertAllDirtyCardsAreWithinSpace() local168 auto start = reinterpret_cast<uint8_t*>(card_table->AddrFromCard(card_addr)); in AssertAllDirtyCardsAreWithinSpace()
210 inline void* CardTable::AddrFromCard(const uint8_t *card_addr) const { in AddrFromCard() argument211 DCHECK(IsValidCard(card_addr)) in AddrFromCard()212 << " card_addr: " << reinterpret_cast<const void*>(card_addr) in AddrFromCard()215 uintptr_t offset = card_addr - biased_begin_; in AddrFromCard()220 uint8_t *card_addr = biased_begin_ + (reinterpret_cast<uintptr_t>(addr) >> kCardShift); in CardFromAddr() local222 DCHECK(IsValidCard(card_addr)) << "addr: " << addr in CardFromAddr()223 << " card_addr: " << reinterpret_cast<void*>(card_addr); in CardFromAddr()224 return card_addr; in CardFromAddr()227 inline bool CardTable::IsValidCard(const uint8_t* card_addr) const { in IsValidCard() argument230 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()
124 void* AddrFromCard(const uint8_t *card_addr) const ALWAYS_INLINE;135 bool IsValidCard(const uint8_t* card_addr) const ALWAYS_INLINE;
135 uint8_t* card_addr = biased_begin_ + ((uintptr_t)addr >> kCardShift); in CheckAddrIsInCardTable() local142 << " card_addr: " << reinterpret_cast<void*>(card_addr) in CheckAddrIsInCardTable()
290 for (uint8_t* card_addr : cleared_cards_) { in Dump()291 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump()297 const uint8_t* card_addr = ref_pair.first; in Dump() local298 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump()
2651 uint8_t* card_addr = card_table->CardFromAddr(obj); in VerifyReference() local2653 << offset << "\n card value = " << static_cast<int>(*card_addr); in VerifyReference()2682 void* cover_begin = card_table->AddrFromCard(card_addr); in VerifyReference()2685 LOG(ERROR) << "Card " << reinterpret_cast<void*>(card_addr) << " covers " << cover_begin in VerifyReference()2714 uint8_t* byte_cover_begin = reinterpret_cast<uint8_t*>(card_table->AddrFromCard(card_addr)); in VerifyReference()