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

Unified Diff: Source/platform/heap/Heap.h

Issue 648633002: Oilpan: Scale up the number of marking threads according to available processors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | « Source/platform/heap/CallbackStack.h ('k') | Source/platform/heap/Heap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.h
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h
index 4d10b2fc376de5b42420c025b53c9f188e0abcc6..175469933d12abe2c13e0d9218952e04f218beb7 100644
--- a/Source/platform/heap/Heap.h
+++ b/Source/platform/heap/Heap.h
@@ -94,7 +94,7 @@ const uint8_t finalizedZapValue = 24;
// the mark bit when tracing.
const uint8_t orphanedZapValue = 240;
-const int numberOfMarkingThreads = 2;
+const int maxNumberOfMarkingThreads = 4;
const int numberOfPagesToConsiderForCoalescing = 100;
@@ -959,7 +959,7 @@ public:
static void collectGarbage(ThreadState::StackState, ThreadState::CauseOfGC = ThreadState::NormalGC);
static void collectGarbageForTerminatingThread(ThreadState*);
static void collectAllGarbage();
- static void processMarkingStackEntries(int* numberOfMarkingThreads);
+ static void processMarkingStackEntries(int*);
static void processMarkingStackOnMultipleThreads();
static void processMarkingStackInParallel();
template<CallbackInvocationMode Mode> static void processMarkingStack();
« no previous file with comments | « Source/platform/heap/CallbackStack.h ('k') | Source/platform/heap/Heap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698