Loading cmds/installd/run_dex2oat.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -324,6 +324,12 @@ void RunDex2Oat::PrepareCompilerRuntimeAndPerfConfigFlags(bool post_bootcomplete AddRuntimeArg(MapPropertyToArg("dalvik.vm.dex2oat-Xms", "-Xms%s")); AddRuntimeArg(MapPropertyToArg("dalvik.vm.dex2oat-Xmx", "-Xmx%s")); // Enable compiling dex files in isolation on low ram devices. // It takes longer but reduces the memory footprint. if (GetBoolProperty("ro.config.low_ram", false)) { AddArg("--compile-individually"); } } void RunDex2Oat::Exec(int exit_code) { Loading Loading
cmds/installd/run_dex2oat.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -324,6 +324,12 @@ void RunDex2Oat::PrepareCompilerRuntimeAndPerfConfigFlags(bool post_bootcomplete AddRuntimeArg(MapPropertyToArg("dalvik.vm.dex2oat-Xms", "-Xms%s")); AddRuntimeArg(MapPropertyToArg("dalvik.vm.dex2oat-Xmx", "-Xmx%s")); // Enable compiling dex files in isolation on low ram devices. // It takes longer but reduces the memory footprint. if (GetBoolProperty("ro.config.low_ram", false)) { AddArg("--compile-individually"); } } void RunDex2Oat::Exec(int exit_code) { Loading