Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: runtime/vm/heap.h

Issue 630933002: Check mark bit when verifying heap. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
===================================================================
--- runtime/vm/heap.h (revision 40925)
+++ runtime/vm/heap.h (working copy)
@@ -12,6 +12,7 @@
#include "vm/pages.h"
#include "vm/scavenger.h"
#include "vm/spaces.h"
+#include "vm/verifier.h"
#include "vm/weak_table.h"
namespace dart {
@@ -156,7 +157,7 @@
intptr_t max_old_gen_words);
// Verify that all pointers in the heap point to the heap.
- bool Verify() const;
+ bool Verify(MarkExpectation mark_expectation = kForbidMarked) const;
// Print heap sizes.
void PrintSizes() const;
@@ -170,7 +171,7 @@
intptr_t Collections(Space space) const;
- ObjectSet* CreateAllocatedObjectSet() const;
+ ObjectSet* CreateAllocatedObjectSet(MarkExpectation mark_expectation) const;
static const char* GCReasonToString(GCReason gc_reason);
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698