Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 31e85fad authored by Björn Davidsson's avatar Björn Davidsson Committed by Steve Kondik
Browse files

Performance: Activity manager perf unnecessary recalc of oom_adj

If an activity has bound service content providers,
updateLruProcessInternalLocked will be called recursively with
the oomAdj flag set, resulting in several recalculations of oomAdj
with unchanged data. Doing it at the end of the top level call to
updateLruProcessInternalLocked is sufficient.

Change-Id: I95e27011e1d3519f256a9bd756cbb18d43e8db29
parent c7c028eb
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