summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-06-08 13:43:08 -0700
committerFelipe Leme <felipeal@google.com>2016-06-17 23:25:19 -0700
commitf0823858e502d36c01a39afd1fc9384a1fe9a3f7 (patch)
tree41c76bb909288eea1ac511326763cf9d86eedfb6 /tools/aapt2/diff/Diff.cpp
parent1ef9b355b067f68be0aeee05a572c406ad78889b (diff)
Split mRulesLock in 2 distinct locks.
mRulesLock was used to lock Life, the Universe, and Everything. Or more specifically, UID rules, network policies, and other state. As such, it was frequently a cause of slowness in the device due to lock contention. For example, isNetworkMetered() is a method called by ConnectivityService and it only needs to lock the network policies info, but because it required the full lock, it would be often on hold when the UID state is changed by onUidStateChanged(). BUG: 29397827 Change-Id: I7aac8f33e150c52cf7a682f0290a91a2c350b8de
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions