Files
frameworks_base/core/java/android/util
Suprabh Shukla 1938e34e42 Mitigating cache corruption in ArrayMap
Before calling freeArrays, storing the array reference into a temporary
pointer so that the main pointer doesn't end up corrupting the static
pool of arrays on concurrent access. An earlier change missed a rare
case when removeAt was called for the last element in the map.

Test: atest android.util.ArrayMapTest
atest android.util.cts.ArrayMapTest

Bug: 78898947
Change-Id: I454c5b1600eb0a6c690e746df10f6a0ebcd8aa1d
2018-05-14 14:51:01 -07:00
..
2018-01-02 07:28:49 -08:00
2018-01-26 13:07:42 +08:00
2018-02-14 15:17:27 -08:00
2017-12-05 10:46:59 -08:00