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

Unified Diff: src/heap/heap.cc

Issue 1064723005: Remove support for specifying the number of available threads (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/d8.cc ('k') | src/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 797d1e0683cc0f324231f78a2f7600c61f49d1f0..6ee6c094bd05ebefb228697f0ca778e3b94ff906 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5270,8 +5270,7 @@ bool Heap::SetUp() {
if (!ConfigureHeapDefault()) return false;
}
- concurrent_sweeping_enabled_ =
- FLAG_concurrent_sweeping && isolate_->max_available_threads() > 1;
+ concurrent_sweeping_enabled_ = FLAG_concurrent_sweeping;
base::CallOnce(&initialize_gc_once, &InitializeGCOnce);
« no previous file with comments | « src/d8.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698