diff options
author | 2020-03-06 01:17:35 +0000 | |
---|---|---|
committer | 2020-03-06 01:17:35 +0000 | |
commit | 0a09c76c713ded94ab38e6917402251977923baf (patch) | |
tree | 601e605304422a82f008bb34aaf343a6fc84390a /libs/binder/ProcessState.cpp | |
parent | e52a3b607d8b6be8c550a0e0de0e48f630514e5d (diff) |
Revert "Disallow shrinking threadpool size once started."
This reverts commit e52a3b607d8b6be8c550a0e0de0e48f630514e5d.
Reason for revert: caught bug in b/150901303, but will temporarily revert until it can be fixed.
Change-Id: Ia8e37395e0d000d247c0ffa4ac9243aab699d09b
Diffstat (limited to 'libs/binder/ProcessState.cpp')
-rw-r--r-- | libs/binder/ProcessState.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index 6627618ddf..c0f5e31d72 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -324,8 +324,6 @@ void ProcessState::spawnPooledThread(bool isMain) } status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { - LOG_ALWAYS_FATAL_IF(mThreadPoolStarted && maxThreads < mMaxThreads, - "Binder threadpool cannot be shrunk after starting"); status_t result = NO_ERROR; if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) != -1) { mMaxThreads = maxThreads; |