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

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

Issue 1917923002: Reland "Check for semaphore alignment on posix platforms. (patchset #1 id:1 of https://codereview.c… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/base/platform/semaphore.cc ('k') | 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 58bf2a502998b5ff62973105d566bc75f94ebefc..7f61e78ae228c793e020d5f405cc8594f2cafa24 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -461,8 +461,8 @@ class MarkCompactCollector {
void PrepareToBeSweptPage(AllocationSpace space, Page* page);
Heap* heap_;
- base::Mutex mutex_;
base::Semaphore pending_sweeper_tasks_semaphore_;
+ base::Mutex mutex_;
SweptList swept_list_[kAllocationSpaces];
SweepingList sweeping_list_[kAllocationSpaces];
bool sweeping_in_progress_;
@@ -868,9 +868,6 @@ class MarkCompactCollector {
// candidates.
bool compacting_;
- // Semaphore used to synchronize compaction tasks.
- base::Semaphore pending_compaction_tasks_semaphore_;
-
bool black_allocation_;
Sweeper sweeper_;
« no previous file with comments | « src/base/platform/semaphore.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698