From 502cb201a5ed5a43038f5148c595ab48af671ee6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=A0=95=EB=8F=99=ED=97=8C/Common=20Platform=20Lab=28SR=29?= =?utf8?q?/Principal=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= 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