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

Unified Diff: src/mark-compact.h

Issue 361983003: Wait for sweeper threads only if we have to. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »
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 54f28dc9d771c1d1a5d98360b76c694300c4e8d0..6b7c09bab9c2dc4dc91f6ff4d360fb7a99830d9c 100644
--- a/src/mark-compact.h
+++ b/src/mark-compact.h
@@ -670,7 +670,10 @@ class MarkCompactCollector {
bool AreSweeperThreadsActivated();
- bool IsConcurrentSweepingInProgress();
+ // If a paged space is passed in, this method checks if the given space is
+ // swept concurrently. Otherwise, this method checks if concurrent sweeping
+ // is in progress right now on any space.
+ bool IsConcurrentSweepingInProgress(PagedSpace* space = NULL);
void set_sequential_sweeping(bool sequential_sweeping) {
sequential_sweeping_ = sequential_sweeping;
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698