Performance: Activity manager perf unnecessary recalc of oom_adj
If an activity has bound servicesor 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 should be sufficient. Change-Id: I95e27011e1d3519f256a9bd756cbb18d43e8db29
Loading
Please register or sign in to comment