summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-09-25 23:46:33 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-10-07 23:42:00 +0800
commite839c2ca794d5042fda8d4b69a7f918617030c58 (patch)
tree07c0dd7696e24480de3d39c7361806c40bc601a6 /rs/java/android/renderscript/ProgramStore.java
parentb780479543e9121f688586eede76d9f60df519b4 (diff)
Move defer-process-config for cached process to client side
Previously the cached state highly depends on the path of oom-adj update, that causes potential lock contention between WMS and AMS. Because the original major problem might be the heavy IO operations by accessing the resources when handling configuration change from dozens of non-important processes. The client side config deferring could be enough help for the case. This is also the last removal of holding WM lock in the path of oom-adj update. Bug: 143432064 Bug: 159104503 Test: ActivityThreadTest# \ testHandleProcessConfigurationChanged_DependOnProcessState Change-Id: Iefc9e02aa374bc74f263cf0c10612f89b864530b
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions