commit | ef2521a06af7bd055a674b4df6125dce4cc6c1f3 | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Thu Aug 19 17:55:22 2021 -0700 |
committer | Jing Ji <jji@google.com> | Wed Aug 25 13:30:44 2021 -0700 |
tree | e357f5247d27b07c3cc635f49c06b11237e3345e | |
parent | 0e6105e0f6216c6d4b1e4089cbfaf2f79b74ac5d [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