diff options
| author | Jake Weinstein <jake@aospa.co> | 2019-10-01 04:46:59 +0200 |
|---|---|---|
| committer | Marcos Tolcachir <marcostolcachir@gmail.com> | 2022-01-01 16:47:58 +0100 |
| commit | cb9cd7281e414a070222686f74b4e151d3a839de (patch) | |
| tree | 1d477cdcd1273748121accd0094f076f2e122e7f | |
| parent | 13c8d2d3a88b9d5f2738143b263daf06687a00a4 (diff) | |
addison: 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.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -389,6 +389,10 @@ PRODUCT_PACKAGES += \ # Soong PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH) +PRODUCT_DEXPREOPT_SPEED_APPS += \ + Settings \ + SystemUI + # Tethering PRODUCT_PACKAGES += \ TetheringConfigOverlay |
