diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-04-19 18:12:39 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-05-01 01:20:44 +0800 |
commit | 481d1e870e76e0ec7ce01ed1e09d0d1203465527 (patch) | |
tree | ba3cf2631ea5a25720d62ce5e075f6d0de9ef521 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 296152392f3f5851dd0d94a959a30989e9dc1463 (diff) |
Move setProcessGroup outside oom adjustment
To reduce the time spent in applyOomAdjLocked. In the case that
when updating oom adjustment and apps call APIs which need to
acquire AMS lock, the duration of lock contention could be less.
Also remove the unnecessary clearCallingIdentity (commit 9438de2)
because the execution won't be on binder thread. Actually the
implementation of setProcessGroup doesn't look like there are any
binder related checks.
Bug: 123043091
Bug: 130295084
Test: AppLaunchTest
Change-Id: I4b593b4eeb647ce93182a9b776a664ed4414ce1d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions