summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2019-05-29 14:09:53 -0700
committerAmith Yamasani <yamasani@google.com>2019-05-29 14:09:53 -0700
commit66eb785a99c20c326db081d8c03bdb74ca375ea8 (patch)
tree70588da7e7cd88687ed9ea4937918841af1104e4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent030bd8471fbd3f5c576574428d7b4fc08853a087 (diff)
Reduce calls to updateOomAdj() during unbind
When unbinding a service, avoid repeatedly calling updateOomAdj() as doing it one time should be sufficient. Running the below CTS test repeatedly with and without the optimization resulted in CPU thread time changing from 1800ms to 1450ms. Test includes a mix of service bindings and activity launches, etc. Bug: 130684057 Test: atest CtsAppTestCases:ActivityManagerProcessStateTest Change-Id: Iadb3743ac1d8b506a22baded279f2b7db7c60aaf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions