sdm660-common: Use speed tuning for performance critical applications

The default ART setting is quicken: run DEX code verification and
optimize some DEX instructions to get better interpreter performance.

This commit switches performance critical applications to speed:
run DEX code verification and AOT-compile all methods.

PRODUCT_DEXPREOPT_SPEED_APPS (New in Android O)
List of applications that have been identified as core to the products
and which are desirable to compile with the speed compiler filter.  For
example, persistent apps such as SystemUI get a chance to use
profile-guided compilation only at the next reboot, so it may be better
for the product to have these apps always AOT-compiled.

Change-Id: Ib2dc9a55dfb332ba3fb84a13544d564a63f37ad2
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Jake Weinstein 2022-07-09 12:06:42 +05:30 committed by pix106
parent 57e5ed1287
commit 7247144d42

View file

@ -476,7 +476,9 @@ else
endif endif
# Preopt SystemUI # Preopt SystemUI
PRODUCT_DEXPREOPT_SPEED_APPS += SystemUI PRODUCT_DEXPREOPT_SPEED_APPS += \
Settings \
SystemUI
# Protobuf # Protobuf
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \