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

Unified Diff: src/mark-compact.h

Issue 12047044: Added parallel marking threads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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 | « src/isolate.cc ('k') | src/mark-compact.cc » ('j') | src/marking-thread.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mark-compact.h
diff --git a/src/mark-compact.h b/src/mark-compact.h
index 0c98016fd2b2246470752fa30d857e3525aac7eb..9cdb46a4f9df60b35845117c020ec604f61555b6 100644
--- a/src/mark-compact.h
+++ b/src/mark-compact.h
@@ -680,6 +680,7 @@ class MarkCompactCollector {
MarkingParity marking_parity() { return marking_parity_; }
+ // Concurrent and parallel sweeping support.
void SweepInParallel(PagedSpace* space,
FreeList* private_free_list,
FreeList* free_list);
@@ -690,6 +691,11 @@ class MarkCompactCollector {
bool AreSweeperThreadsActivated();
+ // Parallel marking support.
+ void MarkInParallel();
+
+ void WaitUntilMarkingCompleted();
+
private:
MarkCompactCollector();
~MarkCompactCollector();
« no previous file with comments | « src/isolate.cc ('k') | src/mark-compact.cc » ('j') | src/marking-thread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698