summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJing Ji <jji@google.com>2021-02-24 23:30:30 -0800
committerJing Ji <jji@google.com>2021-02-24 23:37:40 -0800
commit7abcdb592e5cbd5d233dc13cc351530ae698dad7 (patch)
tree9259cd94d2b4018bb97a1f3b4cbe00eb556c81f7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbaba083691f269e9b32d3916d371ffa863bf1a5c (diff)
Validate the ProcessRecord while iterating LRU list with ProcLock
Fix a race condition where the ProcessRecord has been invalidated but it hasn't been removed from LRU list, meanwhile another thread iterates the LRU list with the ProcLock, thus the ProcessRecord should be validated. Bug: 180849723 Test: atest CtsAppTestCases:ActivityManagerTest Test: Manual - randomly kill other processes during above test Change-Id: I76570a7717b98b499b865acf590af7a2133c36d9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions