OSDN Git Service

Fix a libartd.so boot DCHECK failure with the GSS collector.
authorHiroshi Yamauchi <yamauchi@google.com>
Thu, 20 Mar 2014 20:31:37 +0000 (13:31 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Thu, 20 Mar 2014 20:33:02 +0000 (13:33 -0700)
Bug: 11650816
Change-Id: Ibbdf1e66d2c1afe92351ee7a0ca84702bd07035d

runtime/gc/accounting/remembered_set.cc

index e6508dc..72b9283 100644 (file)
@@ -155,7 +155,7 @@ void RememberedSet::AssertAllDirtyCardsAreWithinSpace() const {
   for (const byte* card_addr : dirty_cards_) {
     auto start = reinterpret_cast<byte*>(card_table->AddrFromCard(card_addr));
     auto end = start + CardTable::kCardSize;
-    DCHECK(space_->Begin() <= start && end <= space_->End());
+    DCHECK(space_->Begin() <= start && end <= space_->Limit());
   }
 }