summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2023-02-06 16:33:54 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2023-02-07 16:23:54 +0000
commit11c409aba350f90720928834c372f295365edc97 (patch)
tree3e3d6ddf98825241940f068e56f97f01f41858d9 /compiler/optimizing/loop_optimization.h
parent715710e251836ca502c2f57096c4f02a39f08715 (diff)
odrefresh: Run with background threads/cpu_set in CompOS
odrefresh unconditionally sets the number of threads and cpu set arguments of dex2oat to 'dalvik.vm.boot-dex2oat-threads' and 'dalvik.vm.boot-dex2oat-cpu-set', respectively (if set). However, Compilation OS does not invoke odrefresh during boot, but rather in idle and charging mode. Select the '.background-' variant of the sysprops in that mode. If the first prop is empty, fall back to the generic, non-prefixed property. Test: atest ComposHostTestCases Change-Id: I19b558b40d8a92d3711c383e05debcf58882444b
Diffstat (limited to 'compiler/optimizing/loop_optimization.h')
0 files changed, 0 insertions, 0 deletions