diff options
author | Jing Ji <jji@google.com> | 2021-08-19 17:55:22 -0700 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2021-08-26 16:57:05 +0000 |
commit | 0822e076977fc9f83d42328e5d13818a848ac5ad (patch) | |
tree | 303d415c46ee121021854852730e3666ab97ad68 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b082cf64e1131e9105449c9742564f0e0bc89599 (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
Merged-In: Iba022bf1ba1634dcd7deeebf71968efd204836da
(cherry picked from commit ef2521a06af7bd055a674b4df6125dce4cc6c1f3)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions