Skip to content
Commit ef2521a0 authored by Jing Ji's avatar Jing Ji
Browse files

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
parent 0e6105e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment