Revert "A workaround to pre-compile internal methods" (#143)
author정동헌/Common Platform Lab(SR)/Principal Engineer/삼성전자 <dheon.jung@samsung.com>
Tue, 3 Dec 2019 06:07:29 +0000 (15:07 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 3 Dec 2019 06:07:29 +0000 (15:07 +0900)
This reverts commit 3abbd74537fea55a1003be2ae0f7bd58ce345d63.

NativeLauncher/launcher/dotnet/dotnet_launcher.cc

index fd0fba3..19677e9 100644 (file)
@@ -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");