From: Gleb Balykov Date: Mon, 7 Jun 2021 19:07:40 +0000 (+0300) Subject: Update MulticoreJit setup X-Git-Tag: submit/tizen/20210623.065708~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4262e8e6f6ed511a638d6ded790d3cce450ead00;p=platform%2Fcore%2Fdotnet%2Flauncher.git Update MulticoreJit setup - COMPlus_MultiCoreJitNoProfileGather is not needed, because it gives no effect on updated MulticoreJit - COMPlus_MultiCoreJitMinNumCpus is needed to enable MulticoreJit on arm with cpu hotplug --- diff --git a/NativeLauncher/launcher/lib/core_runtime.cc b/NativeLauncher/launcher/lib/core_runtime.cc index 1dcbbc2..9479ac7 100644 --- a/NativeLauncher/launcher/lib/core_runtime.cc +++ b/NativeLauncher/launcher/lib/core_runtime.cc @@ -543,9 +543,7 @@ int CoreRuntime::launch(const char* appId, const char* root, const char* path, i strcat(multiCoreJitProfile, PROFILE_BASENAME); setEnvironmentVariable("COMPlus_MultiCoreJitProfile", multiCoreJitProfile); - if (!access(multiCoreJitProfile, R_OK)) { - setEnvironmentVariable("COMPlus_MultiCoreJitNoProfileGather", "1"); - } + setEnvironmentVariable("COMPlus_MultiCoreJitMinNumCpus", "1"); } free(localDataPath); }