Use preload file in hydra loader (#241) accepted/tizen/5.5/unified/20200608.142148 accepted/tizen/unified/20200608.144752 submit/tizen/20200607.233857 submit/tizen_5.5/20200607.233848
author조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>
Sun, 7 Jun 2020 23:30:35 +0000 (08:30 +0900)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Sun, 7 Jun 2020 23:30:35 +0000 (08:30 +0900)
commitbd33ced3a447296dba532e0369cb3caf844569a7
tree9667c7c14e0c0a5d9508de258d0508e787d9df0f
parent6247c2879252baceeb61396b328eaf7753f9e71e
Use preload file in hydra loader (#241)

The preloading list of candidate processes is obtained through the preload file.
The hydra loader has been modified to obtain the preloading assembly list through the same method.

libdotnet-launcher-util.so should not be linked to hydra loader because some
linked libraries create socket in the static initializer and that makes
problem after forking.
So, some functions (absolutePath, isFileExist, replaceAll) is copied
from utils.cc to hydra_main.cc

Know issue :
When System.Private.CoreLib.dll is preloaded in the current hydra loader,
System.Private.CoreLib.dll is loaded again in the candidate process, and that is not shared.
This issus should be checked later.
NativeLauncher/CMakeLists.txt
NativeLauncher/hydra/hydra_main.cc
NativeLauncher/inc/launcher_env.h
packaging/dotnet-launcher.spec