summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorJing Ji <jji@google.com>2021-08-19 17:55:22 -0700
committerJing Ji <jji@google.com>2021-08-25 13:30:44 -0700
commitef2521a06af7bd055a674b4df6125dce4cc6c1f3 (patch)
treee357f5247d27b07c3cc635f49c06b11237e3345e /core/java/android/util/SparseArrayMap.java
parent0e6105e0f6216c6d4b1e4089cbfaf2f79b74ac5d (diff)
Cache compat change values per ProcessRecord for OomAdjuster
Previously looking up the value in the PlatformCompatCache would require a binary search, since these values won't be changed during the lifetime of the process, now cache it in Processrecord. Bug: 197117900 Test: Manual - pprof Test: atest FrameworksServicesTests:OomAdjusterTests Test: atest MockingOomAdjusterTests Test: atest CtsAppTestCases Change-Id: Iba022bf1ba1634dcd7deeebf71968efd204836da
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions