diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-09-25 23:46:33 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-10-07 23:42:00 +0800 |
commit | e839c2ca794d5042fda8d4b69a7f918617030c58 (patch) | |
tree | 07c0dd7696e24480de3d39c7361806c40bc601a6 /rs/java/android/renderscript/ProgramStore.java | |
parent | b780479543e9121f688586eede76d9f60df519b4 (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