msm8226-common : set the compiler filter for shared apks to quicken

* Rationale: speed has a lot of dex code expansion, it uses more ram and space compared to quicken.
    Using quicken for shared APKs on Go devices may save RAM.
    Note that this is a trade-off: here we trade clean pages for dirty pages, extra cpu and battery.
    That's because the quicken files will be jit-ed in all the processes that load of shared apk and the
    code cache is not shared. Some notable apps that will be affected by this are gms and chrome.

As seen here : https://android.googlesource.com/platform/build/+/refs/tags/android-9.0.0_r48/target/product/go_defaults_common.mk#45
This commit is contained in:
Francescodario Cuzzocrea 2019-09-26 18:01:39 +02:00
parent f974d0793f
commit 6f5c6b7b59

View file

@ -65,6 +65,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.rild.nitz_short_ons_2="" \
persist.rild.nitz_short_ons_3="" \
ril.subscription.types=NV,RUIM
PRODUCT_PROPERTY_OVERRIDES += \
pm.dexopt.shared=quicken
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=16m \