summaryrefslogtreecommitdiff
path: root/src/heap.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2012-08-02 14:55:54 -0700
committer Mathieu Chartier <mathieuc@google.com> 2012-08-03 12:41:54 -0700
commitdcf8d7283bd51714f3faa55b631ae4103dc98b51 (patch)
treece4f6f1b836387d9b448fa1583295a38d7d743b8 /src/heap.h
parent259487a86ea29c840d586610f099e8177aab3f40 (diff)
Fix zygote live/mark bitmap size.
Fixed some errors with the sizes of mark/live bitmaps after zygote space creation. This was causing us to occasionally have overlapping mark/live bitmaps. Added a new verify objects mode called VERIFY_OBJECT_FAST which only checks objects and not their classes. Refactored/optimized some of the scanning code to use xor to clear bits instead of and+not. Change-Id: Iec87d9157f69e6a558e300950b51d8781679e3f7
Diffstat (limited to 'src/heap.h')
-rw-r--r--src/heap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/heap.h b/src/heap.h
index a1b1bd9ba8..e908248f93 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -31,6 +31,9 @@
#define VERIFY_OBJECT_ENABLED 0
+// Fast verification means we do not verify the classes of objects.
+#define VERIFY_OBJECT_FAST 1
+
namespace art {
class AllocSpace;