mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
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:
parent
f974d0793f
commit
6f5c6b7b59
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
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 \
|
||||
dalvik.vm.heapgrowthlimit=192m \
|
||||
|
|
Loading…
Reference in a new issue