summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFyodor Kupolov <fkupolov@google.com>2017-09-19 15:48:06 -0700
committerFyodor Kupolov <fkupolov@google.com>2017-09-26 14:46:27 -0700
commit1b3edacd6a381ae02e6b82cb9a4750ea8cb9ec84 (patch)
tree2304828b4d6dc0ce4d535f0a2b64e59581363d72 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6833a07a078af8eeb868aee269bbb1860c01f244 (diff)
Use separate lock in UserController
Introduced a new lock for synchronizing internal state - mLock. This change improves locking by reducing the amount of contention on ActivityManager lock. E.g. in user switching test executed 4 times, the total time reported in dvm_lock_sample for locks owned by UserController was reduced from 9200 to 2400 ms. Test: UserControllerTest Test: android.multiuser.UserLifecycleTests Test: CtsMultiUserHostTestCases Bug: 64165549 Change-Id: I907b22dcda806b4159c8afa4a7299e8e538ba721
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions