Fix missing card mark verification.
Fixed card mark verification code to handle aged cards.
Refactored some duplicated code in Heap.cc.
Fixed a broken check in card table scan.
Change-Id: I59f2072684fc20873ababcbc5e59640059e25ff7
diff --git a/src/heap.h b/src/heap.h
index 584718e..22b009c 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -392,6 +392,9 @@
// Swap the allocation stack with the live stack.
void SwapStacks();
+ // Bind bitmaps (makes the live and mark bitmaps for immune spaces point to the same bitmap).
+ void BindBitmaps(GcType gc_type, MarkSweep& mark_sweep);
+
// Clear cards and update the mod union table.
void ProcessCards(TimingLogger& timings);