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

Unified Diff: vm/heap.h

Issue 8898034: - Implement the old sweeper. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years 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
Index: vm/heap.h
===================================================================
--- vm/heap.h (revision 2404)
+++ vm/heap.h (working copy)
@@ -19,6 +19,8 @@
class VirtualMemory;
DECLARE_FLAG(bool, verbose_gc);
+DECLARE_FLAG(bool, verify_before_gc);
+DECLARE_FLAG(bool, verify_after_gc);
DECLARE_FLAG(bool, gc_at_alloc);
class Heap {
@@ -56,6 +58,7 @@
// Visit all pointers in the space.
void IterateNewPointers(ObjectPointerVisitor* visitor);
void IterateOldPointers(ObjectPointerVisitor* visitor);
+ void IterateCodePointers(ObjectPointerVisitor* visitor);
void CollectGarbage(Space space);
void CollectAllGarbage();

Powered by Google App Engine
This is Rietveld 408576698