summaryrefslogtreecommitdiffstats
path: root/cmds/atrace
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-09-14 16:33:11 -0700
committerAndreas Gampe <agampe@google.com>2015-09-16 15:10:55 -0700
commit21948005f0294a64a42932b21a33ae75295dc3d9 (patch)
tree4c7f8d4a57cc453ca0e35033b11f359d64873299 /cmds/atrace
parent624408eecb0d278cb1de1bb088699e25b319d15e (diff)
downloadframeworks_native-21948005f0294a64a42932b21a33ae75295dc3d9.zip
frameworks_native-21948005f0294a64a42932b21a33ae75295dc3d9.tar.gz
frameworks_native-21948005f0294a64a42932b21a33ae75295dc3d9.tar.bz2
Installd: Allow different behavior before bootcomplete
Check dev.bootcomplete in dex2oat(). Use the information for two changes. Only switch to the background when we're post bootcomplete. This will ensure better utilization after upgrades. Add a second dex2oat-threads property that is used pre bootcomplete. A separation of these phases allows using less cores when the device is up, freeing up resources for other purposes, e.g., avoid jank. The precedence during boot is the boot property, or the image property if the former doesn't exist, or the default property as a fallback. Bug: 23898216 Bug: 24004256 Change-Id: I5063f3fc4b437cbe88c4e94584e01c1c78eccc4d
Diffstat (limited to 'cmds/atrace')
0 files changed, 0 insertions, 0 deletions