Merge "Count hotness in system server compiled code"

This commit is contained in:
Treehugger Robot 2019-01-31 17:19:38 +00:00 committed by Gerrit Code Review
commit 4f3f03c09b
1 changed files with 3 additions and 0 deletions

View File

@ -41,5 +41,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Use speed compiler filter since system server doesn't have JIT. # Use speed compiler filter since system server doesn't have JIT.
PRODUCT_DEX_PREOPT_BOOT_FLAGS += --compiler-filter=speed PRODUCT_DEX_PREOPT_BOOT_FLAGS += --compiler-filter=speed
# System server is speed compiled and doesn't have a separate preopt flag,
# so we enable hotness in compiled code for everything.
PRODUCT_DEX_PREOPT_DEFAULT_FLAGS := --count-hotness-in-compiled-code
PRODUCT_DIST_BOOT_AND_SYSTEM_JARS := true PRODUCT_DIST_BOOT_AND_SYSTEM_JARS := true