Merge "Fix issue #18683980: questions on LMK memory changes" into lmp-mr1-dev

This commit is contained in:
Dianne Hackborn
2014-12-10 21:56:07 +00:00
committed by Android (Google) Code Review

View File

@@ -238,7 +238,7 @@ final class ProcessList {
if (Build.SUPPORTED_64_BIT_ABIS.length > 0) { if (Build.SUPPORTED_64_BIT_ABIS.length > 0) {
// Increase the high min-free levels for cached processes for 64-bit // Increase the high min-free levels for cached processes for 64-bit
mOomMinFreeHigh[4] = (mOomMinFreeHigh[4]*3)/2; mOomMinFreeHigh[4] = (mOomMinFreeHigh[4]*3)/2;
mOomMinFreeHigh[5] = (mOomMinFreeHigh[5]*7)/8; mOomMinFreeHigh[5] = (mOomMinFreeHigh[5]*7)/4;
} }
for (int i=0; i<mOomAdj.length; i++) { for (int i=0; i<mOomAdj.length; i++) {