diff options
author | 2016-04-15 14:29:55 -0700 | |
---|---|---|
committer | 2016-04-15 14:29:55 -0700 | |
commit | 96e8322f4d11af8538d6d0db5f1a11338b8aee9d (patch) | |
tree | 461acff6624b23b44433fe4033c5d26e40af4a45 /libs/binder/ProcessState.cpp | |
parent | 9eb286a074a8b2764b69339b0958dc5b176f1a8d (diff) |
Log when binder thread pool is starved
Log when the number of threads executing binder commands is equal to the
maximium size of the thread pool for >100ms.
Bug: 28201939
Change-Id: I892863d8a81c06e362d4ae18ab08485fdec3c0bb
Diffstat (limited to 'libs/binder/ProcessState.cpp')
-rw-r--r-- | libs/binder/ProcessState.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index b221e51811..f13f49fe93 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -343,6 +343,7 @@ ProcessState::ProcessState() , mThreadCountDecrement(PTHREAD_COND_INITIALIZER) , mExecutingThreadsCount(0) , mMaxThreads(DEFAULT_MAX_BINDER_THREADS) + , mStarvationStartTimeMs(0) , mManagesContexts(false) , mBinderContextCheckFunc(NULL) , mBinderContextUserData(NULL) |