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

Unified Diff: src/heap/mark-compact.h

Issue 1313313002: Synchronize on concurrent store buffer entries. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index d6ff1c96144232fc38bdeefa4d91001da58a6f7f..ffb54bb462cbd13dbb595d27b902a4c51eb38067 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -707,6 +707,9 @@ class MarkCompactCollector {
// True if concurrent or parallel sweeping is currently in progress.
bool sweeping_in_progress_;
+ // True if parallel compaction is currently in progress.
+ bool parallel_compaction_in_progress_;
+
// Synchronize sweeper threads.
base::Semaphore pending_sweeper_jobs_semaphore_;
@@ -873,6 +876,8 @@ class MarkCompactCollector {
void EvacuatePagesInParallel();
+ void WaitUntilCompactionCompleted();
+
void EvacuateNewSpaceAndCandidates();
void ReleaseEvacuationCandidates();
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698