Merge "Fix SystemServerInitThreadPool size on latest device." into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
746fbc30da
@@ -45,7 +45,8 @@ public class SystemServerInitThreadPool {
|
|||||||
|
|
||||||
private static SystemServerInitThreadPool sInstance;
|
private static SystemServerInitThreadPool sInstance;
|
||||||
|
|
||||||
private ExecutorService mService = ConcurrentUtils.newFixedThreadPool(4,
|
private ExecutorService mService = ConcurrentUtils.newFixedThreadPool(
|
||||||
|
Runtime.getRuntime().availableProcessors(),
|
||||||
"system-server-init-thread", Process.THREAD_PRIORITY_FOREGROUND);
|
"system-server-init-thread", Process.THREAD_PRIORITY_FOREGROUND);
|
||||||
|
|
||||||
private List<String> mPendingTasks = new ArrayList<>();
|
private List<String> mPendingTasks = new ArrayList<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user