sdm660-common: Configure dext2oat for pre-optimization

As per Android 11 Dalvik configurations

    * dalvik.vm.boot-dex2oat-cpu-set: CPUs running dex2oat threads during boot time
      Use both Silver and GOLD cluster for that
    * dalvik.vm.image-dex2oat-cpu-set to build bootimage use only GOLD cluster
    * dalvik.vm.dex2oat-cpu-set CPUs running dex2oat threads after boot time,this needs to have the same threads as the  boot image compilation

Signed-off-by: klozz <klozz@vivaldi.net>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
This commit is contained in:
klozz 2021-04-07 22:45:53 +08:00 committed by OdSazib
parent b34509982f
commit 18da3fed81
No known key found for this signature in database
GPG key ID: B678DBD07079B021

View file

@ -9,13 +9,14 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat64.enabled=true \
ro.vendor.qti.am.reschedule_service=true \
ro.sys.fw.dex2oat_thread_count=8 \
dalvik.vm.boot-dex2oat-cpu-set=0,1,2,3,4,5,6,7 \
dalvik.vm.boot-dex2oat-threads=8 \
dalvik.vm.dex2oat-cpu-set=0,1,2,3,4,5,6,7 \
dalvik.vm.dex2oat-filter=quicken \
dalvik.vm.dex2oat-threads=8 \
dalvik.vm.image-dex2oat-cpu-set=0,1,2,3,4,5,6,7 \
dalvik.vm.dex2oat-threads=4 \
dalvik.vm.image-dex2oat-cpu-set=4,5,6,7 \
dalvik.vm.image-dex2oat-filter=quicken \
dalvik.vm.image-dex2oat-threads=8
dalvik.vm.image-dex2oat-threads=4
# Audio
PRODUCT_PROPERTY_OVERRIDES += \