Loading services/core/java/com/android/server/am/ProcessList.java +7 −0 Original line number Diff line number Diff line Loading @@ -3805,6 +3805,13 @@ public final class ProcessList { } } if (Flags.removeLruSpamPrevention()) { // Return early to disable the LRU spam prevention implemented below, as it's breaking // the LRU by spreading processes. return; } // To keep it from spamming the LRU list (by making a bunch of clients), // we will distribute other entries owned by it to be in-between other apps. int i = endIndex; Loading services/core/java/com/android/server/am/flags.aconfig +8 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,14 @@ flag { bug: "378580264" } flag { name: "remove_lru_spam_prevention" namespace: "backstage_power" is_fixed_read_only: true description: "Remove LRU spam prevention, as it's breaking the LRU" bug: "421872956" } flag { name: "cpu_time_capability_based_freeze_policy" namespace: "backstage_power" Loading Loading
services/core/java/com/android/server/am/ProcessList.java +7 −0 Original line number Diff line number Diff line Loading @@ -3805,6 +3805,13 @@ public final class ProcessList { } } if (Flags.removeLruSpamPrevention()) { // Return early to disable the LRU spam prevention implemented below, as it's breaking // the LRU by spreading processes. return; } // To keep it from spamming the LRU list (by making a bunch of clients), // we will distribute other entries owned by it to be in-between other apps. int i = endIndex; Loading
services/core/java/com/android/server/am/flags.aconfig +8 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,14 @@ flag { bug: "378580264" } flag { name: "remove_lru_spam_prevention" namespace: "backstage_power" is_fixed_read_only: true description: "Remove LRU spam prevention, as it's breaking the LRU" bug: "421872956" } flag { name: "cpu_time_capability_based_freeze_policy" namespace: "backstage_power" Loading