Avoid full oomAdjUpdate in unbinding services / provders etc.
Only update the necessary processes Overall during mpts shuffled round robin test: * Average time spent on each oomadj update reduced by ~32.05% * Total number of calls into oomadj update increased by ~6.12%, this is because we now force a partial oomadj update before delivering broadcast to the receiver, to make sure the receiver always gets a correct procstate/oomadj score in the processing of the broadcast. * Total cpu time spent on oomadj update reduced by ~27.86% Bug: 164452388 Bug: 162042261 Bug: 162450085 Test: atest CtsAppTestCases Test: atest CtsContentTestCases Test: atest ActivityManagerPerfTests:OomAdjPerfTest Change-Id: I5df33c8dd4f670ce4ad03386ece91d9add6db85e
Loading
Please register or sign in to comment