Update MulticoreJit setup
authorGleb Balykov <g.balykov@samsung.com>
Mon, 7 Jun 2021 19:07:40 +0000 (22:07 +0300)
committer조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>
Mon, 14 Jun 2021 22:29:43 +0000 (07:29 +0900)
- 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

NativeLauncher/launcher/lib/core_runtime.cc

index 1dcbbc2..9479ac7 100644 (file)
@@ -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);
        }