summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2020-12-11 10:01:20 -0800
committerChristopher Tate <ctate@google.com>2020-12-11 12:25:51 -0800
commit296b7e9bfac968f43b4c84df7bafe2044ca0c4df (patch)
tree36b27fefe1dcb314d2e34db79a1971cc82eef5cf /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentd4c2928f8f3ccc34859ea930af1c5e35a6a30743 (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 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions