}
}
-// terminate candidate process when language changed
-// icu related data (CultureInfo, etc) should be recreated.
-static void langChangedCB(keynode_t *key, void* data)
-{
- _INFO("terminiate candidate process to update language.");
- exit(0);
-}
-
static void setLang()
{
char* lang = vconf_get_str(VCONFKEY_LANGSET);
// So, plugin initialize should be called before creating threads.
if (initializePluginManager(appType) < 0) {
_ERR("Failed to initialize PluginManager");
+ return -1;
}
// checkInjection checks dotnet-launcher run mode
}
if (launchMode == LaunchMode::loader) {
- // terminate candidate process if language is changed.
- // CurrentCulture created for preloaded dlls should be updated.
- vconf_notify_key_changed(VCONFKEY_LANGSET, langChangedCB, NULL);
// preload libraries and manage dlls for optimizing startup time
preload();
if (exist(multiCoreJitProfile)) {
setEnvironmentVariable("COMPlus_MultiCoreJitNoProfileGather", "1");
+ _INFO("MCJ playing start for %s", appId);
} else {
setEnvironmentVariable("COMPlus_MultiCoreJitNoProfileGather", "0");
// stop profiling and write collected data after delay if env value is set.
stopProfileAfterDelay(delay);
}
}
+ _INFO("MCJ recording start for %s", appId);
}
}
free(localDataPath);
setSwitch("Switch.System.Diagnostics.StackTrace.ShowILOffsets", true);
- vconf_ignore_key_changed(VCONFKEY_LANGSET, langChangedCB);
-
pluginBeforeExecute();
_INFO("execute assembly : %s", path);