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

Unified Diff: src/mark-compact.h

Issue 382793002: Remove sequential sweeping mode and perform lazy sweeping when no sweeper threads are active. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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/mark-compact.h
diff --git a/src/mark-compact.h b/src/mark-compact.h
index bcbc05606190cb7efb149e298dfd3893ef8ddf28..329ebff50cab40be7d517f9c2fcc1210a00a72d0 100644
--- a/src/mark-compact.h
+++ b/src/mark-compact.h
@@ -570,7 +570,6 @@ class MarkCompactCollector {
void EnableCodeFlushing(bool enable);
enum SweeperType {
- CONSERVATIVE,
PARALLEL_CONSERVATIVE,
CONCURRENT_CONSERVATIVE,
PRECISE
@@ -673,10 +672,8 @@ class MarkCompactCollector {
bool AreSweeperThreadsActivated();
- // 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);
+ // Checks if sweeping is in progress right now on any space.
+ bool sweeping_pending() { return sweeping_pending_; }
Jarin 2014/07/11 07:40:52 Nit: so why is not this called IsSweepingInProgres
Hannes Payer (out of office) 2014/07/11 09:36:13 It is a true getter now. Anyhow, I renamed the var
void set_sequential_sweeping(bool sequential_sweeping) {
sequential_sweeping_ = sequential_sweeping;

Powered by Google App Engine
This is Rietveld 408576698