aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Weinstein <jake@aospa.co>2019-10-01 04:46:59 +0200
committermarcost2 <marcostolcachir@gmail.com>2022-01-01 13:43:06 -0300
commitb12df9cb31631be86300aa2abdfea96b6f278eaf (patch)
tree11802ced2c34732818f7c5d185d6dc68a782eb01
parentaa3d8a7b0dbbefe8d35fd82b319498647d8c5437 (diff)
albus: 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
-rw-r--r--device.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index d08d6f1..92e5d33 100644
--- a/device.mk
+++ b/device.mk
@@ -399,6 +399,10 @@ PRODUCT_PACKAGES += \
# Soong
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
+PRODUCT_DEXPREOPT_SPEED_APPS += \
+ Settings \
+ SystemUI
+
# Tethering
PRODUCT_PACKAGES += \
TetheringConfigOverlay