From b6c337213aeb7e79a40d80e9cfc8c58e4bd02ce1 Mon Sep 17 00:00:00 2001 From: David Sehr Date: Sat, 25 Apr 2020 15:50:40 -0700 Subject: [PATCH] sm7125: Enable usage of dex2oat64 Use 64-bit dex2oat for better dexopt time. Move it to system.prop Bug: 153380900 Test: boot and install an application Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095 (cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78) Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095 Signed-off-by: Henrique Pereira --- system.prop | 3 +++ vendor.prop | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/system.prop b/system.prop index 2f52bee..a9b14c0 100644 --- a/system.prop +++ b/system.prop @@ -15,6 +15,9 @@ ro.config.dha_th_rate=2.3 ro.config.sdha_apps_bg_max=64 ro.config.sdha_apps_bg_min=8 +# Dex2oat +dalvik.vm.dex2oat64.enabled=true + # RIL Powersaving persist.radio.add_power_save=1 pm.sleep_mode=1 diff --git a/vendor.prop b/vendor.prop index 25139ff..0e7e032 100644 --- a/vendor.prop +++ b/vendor.prop @@ -126,7 +126,6 @@ dalvik.vm.heapmaxfree=8m dalvik.vm.lockprof.threshold=500 # ART -dalvik.vm.dex2oat64.enabled=true dalvik.vm.systemuicompilerfilter=speed ro.sys.fw.dex2oat_thread_count=8 dalvik.vm.boot-dex2oat-threads=8