diff options
author | Christopher Tate <ctate@google.com> | 2020-12-11 10:01:20 -0800 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2020-12-11 12:25:51 -0800 |
commit | 296b7e9bfac968f43b4c84df7bafe2044ca0c4df (patch) | |
tree | 36b27fefe1dcb314d2e34db79a1971cc82eef5cf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d4c2928f8f3ccc34859ea930af1c5e35a6a30743 (diff) |
Make isAppBad() lock-free
We trade off increased cost of (rare) mutations of the set of "bad" apps
in order to make the core lookup "is this specific app bad?" lock-free.
Locking discipline turned out to be a dominant cost in a very hot code
path within the running system, even uncontended.
Bug: 175339368
Test: tbd
Change-Id: I8803a177d46b01b86897f1e8d0966eb2452849fd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions