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

Re-compute oom adj in case cycles are found in partial update

The partial oom adj update could encounter cycles, in which case
its omm adj score shouldn't be used. We'll need to perform another
round of computation on all its associated processes.

Meanwhile, removed one of the legacy updateOomAdjLocked variants,
as it's always calling into another variant actually.

Bug: 184310015
Test: atest MockingOomAdjusterTests
Test: atest CtsAppTestCases
Change-Id: I67815344134ca122312c3242a18083cafe1519a5
parent 87d4c9a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment