summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2020-12-11 10:01:20 -0800
committerChristopher Tate <ctate@google.com>2021-02-22 17:47:16 -0800
commit8a3e7201b5a58c1bf09a9e2ffc014afcf3a2cdcc (patch)
treefe8699e7dd0a258382dd51a8fab6441e56c396b7 /rs/java/android/renderscript/RenderScript.java
parent087715166a3ff1ce5a21fd926395ff42b47e4322 (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 Bug: 163297662 Test: atest ActivityManagerServiceTest Change-Id: I8803a177d46b01b86897f1e8d0966eb2452849fd Merged-In: I8803a177d46b01b86897f1e8d0966eb2452849fd
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions