From: dheon.jung@samsung.com Date: Tue, 3 Dec 2019 06:07:29 +0000 (+0900) Subject: Revert "A workaround to pre-compile internal methods" (#143) X-Git-Tag: accepted/tizen/5.5/unified/20200120.132927~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42f8667749a2b3145714b1d996164684a9806387;p=platform%2Fcore%2Fdotnet%2Flauncher.git Revert "A workaround to pre-compile internal methods" (#143) This reverts commit 3abbd74537fea55a1003be2ae0f7bd58ce345d63. --- diff --git a/NativeLauncher/launcher/dotnet/dotnet_launcher.cc b/NativeLauncher/launcher/dotnet/dotnet_launcher.cc index fd0fba3..19677e9 100644 --- a/NativeLauncher/launcher/dotnet/dotnet_launcher.cc +++ b/NativeLauncher/launcher/dotnet/dotnet_launcher.cc @@ -430,11 +430,7 @@ int CoreRuntime::initialize(bool standalone) if (!standalone) { - // Preload common managed code. - preloadTypes(); - - // This redundant call effectively reduces JIT overhead at launch time. - setEnvironmentVariable("XDG_DATA_HOME", "/"); + preloadTypes(); // Preload common managed code } _INFO("CoreRuntime initialize success");