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

Unified Diff: runtime/vm/gc_sweeper.h

Issue 1024063003: Eliminate fake-Isolate workaround from concurrent sweeper. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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 | « runtime/vm/gc_marker.cc ('k') | runtime/vm/gc_sweeper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gc_sweeper.h
===================================================================
--- runtime/vm/gc_sweeper.h (revision 44565)
+++ runtime/vm/gc_sweeper.h (working copy)
@@ -10,6 +10,7 @@
namespace dart {
// Forward declarations.
+class ClassTable;
class FreeList;
class Heap;
class HeapPage;
@@ -20,7 +21,8 @@
// memory.
class GCSweeper {
public:
- GCSweeper() {}
+ explicit GCSweeper(const ClassTable* class_table)
+ : class_table_(class_table) {}
~GCSweeper() {}
// Sweep the memory area for the page while clearing the mark bits and adding
@@ -39,6 +41,9 @@
HeapPage* first,
HeapPage* last,
FreeList* freelist);
+
+ private:
+ const ClassTable* class_table_;
};
} // namespace dart
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/gc_sweeper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698