commit | 90f9e313438fbc7e634af0679cf94e97760e90c8 | [log] [tgz] |
---|---|---|
author | Björn Davidsson <björn.davidsson@sonyericsson.com> | Thu Nov 18 08:26:27 2010 +0100 |
committer | Johan Redestig <johan.redestig@sonymobile.com> | Fri Jun 08 12:56:14 2012 +0200 |
tree | 918ef1588dbdb2b16af7ceb4ed900d2535f333bb | |
parent | 0748a5698776d1a9693a5449ffc983af26cc533b [diff] |
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