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

Unified Diff: src/libplatform/default-platform.h

Issue 1553653002: [libplatform] allow thread_pool_size to be > 4 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | « no previous file | src/libplatform/default-platform.cc » ('j') | src/libplatform/default-platform.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/libplatform/default-platform.h
diff --git a/src/libplatform/default-platform.h b/src/libplatform/default-platform.h
index 8bdda95be67b5386ac49585dfd4de253da0181d0..7f539d3e5cdae0955e522c816ead630a0fe7c5eb 100644
--- a/src/libplatform/default-platform.h
+++ b/src/libplatform/default-platform.h
@@ -55,13 +55,14 @@ class DefaultPlatform : public Platform {
private:
- static const int kMaxThreadPoolSize;
+ static const int kDefaultThreadPoolSize;
Task* PopTaskInMainThreadQueue(v8::Isolate* isolate);
Task* PopTaskInMainThreadDelayedQueue(v8::Isolate* isolate);
base::Mutex lock_;
bool initialized_;
+ const int max_thread_pool_size_;
int thread_pool_size_;
std::vector<WorkerThread*> thread_pool_;
TaskQueue queue_;
« no previous file with comments | « no previous file | src/libplatform/default-platform.cc » ('j') | src/libplatform/default-platform.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698