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

Unified Diff: src/incremental-marking.h

Issue 7112030: Make backing store for incremental marking deque non-static. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 6 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
Index: src/incremental-marking.h
diff --git a/src/incremental-marking.h b/src/incremental-marking.h
index 7f11c788a8afb75c1ed7768f0c7a6d6bb81f2f7d..d9605b2f39271dff99d0894b557882a914faf530 100644
--- a/src/incremental-marking.h
+++ b/src/incremental-marking.h
@@ -49,6 +49,8 @@ class IncrementalMarking : public AllStatic {
explicit IncrementalMarking(Heap* heap);
+ void TearDown();
+
State state() {
ASSERT(state_ == STOPPED || FLAG_incremental_marking);
return state_;
@@ -172,9 +174,13 @@ class IncrementalMarking : public AllStatic {
static void SetOldSpacePageFlags(MemoryChunk* chunk, bool is_marking);
static void SetNewSpacePageFlags(MemoryChunk* chunk, bool is_marking);
+ void EnsureMarkingDequeIsCommitted();
+
Heap* heap_;
State state_;
+
+ VirtualMemory* marking_deque_memory_;
MarkingDeque marking_deque_;
int steps_count_;
« no previous file with comments | « src/heap.cc ('k') | src/incremental-marking.cc » ('j') | src/incremental-marking.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698