commit | af989d5a5d42d9c43f93c3197d1ced659046b289 | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Tue Jan 25 13:59:50 2022 -0800 |
committer | Victor Hsieh <victorhsieh@google.com> | Tue Jan 25 17:02:49 2022 -0800 |
tree | e7bbdd80c45b47c2de0868538031745517e3cdea | |
parent | 7cce6d43739b41392139587882040f79e8a87bb9 [diff] |
Allow CompOS VM to use all CPUs by default In early boot, if dalvik.vm.boot-dex2oat-threads is not specified, dex2oat will run in #CPU threads. Currently, we're still using one CPU in the VM if dalvik.vm.boot-dex2oat-threads not specified. This change gives the VM the same number of CPUs, which will allow dex2oat to leverage all CPUs. Bug: 197358423 Test: Run `composd_cmd staged-apex-compile` on oriole # Before: ~90s # After: ~60s Test: enable adb, check /proc/cpuinfo Change-Id: Ifb8908ab44eacf42960f6e4d9b12edca6370d594
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.