summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2020-09-10 23:20:58 -0700
committerTej Singh <singhtejinder@google.com>2020-09-11 17:17:26 +0000
commit5e74205b8baa7a8f37e7bd0aad898d398135ce5f (patch)
treee652dcbefc037187317ea76985ba7cd827fb99bc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent387efc865cd1004bda87a95a432a82279fa1105c (diff)
Fix thread safety issue on clearing cache
Historically, we havent held a lock on ForceClearCache and ClearCacheIfNecessary. This is not thread safe because kAllPullAtomInfo must be accessed in a lock, especially now that pullers can be registered/unregistered. Test: atest statsd_test, wrote a repro cl. Bug: 168156854 Change-Id: I47d53a6d9d274bca4c78dbfd87e0097091b7b8cb Merged-In: I47d53a6d9d274bca4c78dbfd87e0097091b7b8cb (cherry picked from commit f9a4bb18ffa1605cced3ee4b161675a0c88941be)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions