summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorJing Ji <jji@google.com>2019-08-02 13:44:15 -0700
committerJing Ji <jji@google.com>2019-08-06 15:18:41 -0700
commitcaf294a2cef3fd821f2bbfd56414279465f81deb (patch)
tree6d6ea99201b18098137af1ce1119061c1aa7130a /rs/java/android/renderscript/ProgramStore.java
parent2ef7b3ec1d7d859bc1d1a08f2b2025754f75a15a (diff)
Fix inconsistent OomAdjuster computation result
In case of cycle dependencies, while one of the process within the cycle gets bound by mutliple other processes, the procState result would be inconsistent across runs. Fix is to pick the minimum one of the raw and current scores prior to scanning the service/provider lists in case of cycles-reevaluation. Bug: 138673927 Test: atest MockingOomAdjusterTests cts-tradefed run singleCommand cts-dev -m CtsAppTestCases \ -t android.app.cts.ActivityManagerProcessStateTest Change-Id: I8f33c12c1625da6f336d79e44e91158c84beb6ac
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions