From 42f8667749a2b3145714b1d996164684a9806387 Mon Sep 17 00:00:00 2001 From: "dheon.jung@samsung.com" Date: Tue, 3 Dec 2019 15:07:29 +0900 Subject: [PATCH] Revert "A workaround to pre-compile internal methods" (#143) This reverts commit 3abbd74537fea55a1003be2ae0f7bd58ce345d63. --- NativeLauncher/launcher/dotnet/dotnet_launcher.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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"); -- 2.7.4