diff options
| author | 2022-11-30 10:34:10 -0800 | |
|---|---|---|
| committer | 2022-12-11 12:46:39 -0800 | |
| commit | 17072cefabf162c5c911ead404617892065b023b (patch) | |
| tree | f4d2758555f07b109ec18364d735d3dbce9088d4 /libs/androidfw/StringPool.cpp | |
| parent | 465e1a92e7e46238249d88fea0f350a274c5e43b (diff) | |
OomAdjuster: skip persistent/system processes in cycle detection
Apps with negative oom_adj scores are either system_server or
persistent. As a result, those apps don't need to be considered in
cycle detection because no binding to that app can possibly promote
the persistent process to a more important process state.
Bug: 260854804
Test: atest MockingOomAdjusterTests
Change-Id: I632dc41a5660935b9c49af3c01243314dab4cc0a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions