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

Unified Diff: src/sweeper-thread.cc

Issue 380653003: Allow main thread to contribute to the sweeping phase. (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
« src/spaces.cc ('K') | « src/spaces.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sweeper-thread.cc
diff --git a/src/sweeper-thread.cc b/src/sweeper-thread.cc
index 9ce5ec4d85736657f826b0c42b0f40fad181d6be..83b4ec1c9ddca0a9630ee768ac51030c337b5d3c 100644
--- a/src/sweeper-thread.cc
+++ b/src/sweeper-thread.cc
@@ -41,8 +41,10 @@ void SweeperThread::Run() {
return;
}
- collector_->SweepInParallel(heap_->old_data_space());
- collector_->SweepInParallel(heap_->old_pointer_space());
+ collector_->SweepInParallel<MarkCompactCollector::SWEEP_IN_PARALLEL>(
+ heap_->old_data_space(), 0);
+ collector_->SweepInParallel<MarkCompactCollector::SWEEP_IN_PARALLEL>(
+ heap_->old_pointer_space(), 0);
end_sweeping_semaphore_.Signal();
}
}
« src/spaces.cc ('K') | « src/spaces.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698