diff options
author | jiangyou li <jiangyou.li@unisoc.corp-partner.google.com> | 2021-02-02 14:27:08 +0800 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2021-02-03 18:49:52 +0000 |
commit | 0a79ec19720c64719cc4ad56c4a5ed081a003896 (patch) | |
tree | a99fabbc360e941d3508270edd4beb09734772a0 /services/incremental/BinderIncrementalService.cpp | |
parent | 182e90d1ea5cda262500c73085c17544fb62755d (diff) |
Fix system_server's main thread name.
When BinderIncrementalService start, it call ps->giveThreadPoolName() change the thread name to Binder:%d_%X.
However BinderIncrementalService run in system_serve main thread, it need not change the thread name.
BUG: 171354331
Test: adb shell ps -T [pid]
check the main thread name of system_server
Change-Id: I53fc6e096cae78798bb0a2670dcf2d8b4da3f5b6
Diffstat (limited to 'services/incremental/BinderIncrementalService.cpp')
-rw-r--r-- | services/incremental/BinderIncrementalService.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/incremental/BinderIncrementalService.cpp b/services/incremental/BinderIncrementalService.cpp index 0ae10b6dc3b5..a3cadf3cc0b2 100644 --- a/services/incremental/BinderIncrementalService.cpp +++ b/services/incremental/BinderIncrementalService.cpp @@ -88,7 +88,6 @@ BinderIncrementalService* BinderIncrementalService::start(JNIEnv* env) { } sp<ProcessState> ps(ProcessState::self()); ps->startThreadPool(); - ps->giveThreadPoolName(); // sm->addService increments the reference count, and now we're OK with returning the pointer. return self.get(); } |