summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJing Ji <jji@google.com>2021-03-19 22:20:29 -0700
committerJing Ji <jji@google.com>2021-03-19 22:32:10 -0700
commit75a4e3f38c52366d59447cc865b65e4d51622697 (patch)
tree96f877519d8626875ce675f9374a86b6688e5b3d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1c9ac73a7828f49e44718dca0da900d520c5426a (diff)
DO NOT MERGE: Don't take the AM lock in cached app compaction handler
A single oomAdjUpdate pass could trigger quite a few app compactions, each of them would need to acquire the AM lock during the handling, results in lock contentions. Now use its own lock. Also skip the scheduling if the given app is pending with compaction already. Bug: 163297662 Test: atest CachedAppOptimizerTest Test: Manual - Boot & check the logs Change-Id: I4618a3ae78838cd9783a431e7364130270ebb4d6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions