summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2019-05-13 14:19:00 +0800
committerjunyulai <junyulai@google.com>2019-05-13 18:44:39 +0800
commit4fbc24fe1b2fc9b4b16afa4901a9c755515d1217 (patch)
tree05072cb1863017b1ac3aa2f7c4adc924e44f38ff /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8246ca02ab281d8c03bb965105ac2bf8d6c19782 (diff)
Fix concurrent modification exception in KeepaliveTracker
In aosp/951200, the clean up function delete the item in the hash map that holds the record while iterating it, where the list used to iterate the records is backed by the hash map, so changes to the map are reflected in the list and caused the concurrent modification exception. Bug: 132341736 Test: 1. atest com.android.server.ConnectivityServiceTest \ #testNattSocketKeepalives --generate-new-metrics 300 2. atest FrameworksNetTests --generate-new-metrics 10 (Clean cherry-pick of aosp/959599) Change-Id: I9cdfe6f6d11c5400c856cc30a33ff4a44ba9d811 Merged-In: I0481a469ee23231e5f0ab738a06b5e09f6cdb680
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions