是CLR加载和初始化每次,当一个新的托管应用程序加载? [英] Is CLR loaded and initialized everytime,when a new managed application is loaded?

查看:83
本文介绍了是CLR加载和初始化每次,当一个新的托管应用程序加载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是CLR加载和初始化每次,当一个新的托管应用程序加载,并有一个托管的应用程序已经present?

Is CLR loaded and initialized everytime, when a new managed application is loaded and there is a managed application already present?

例如。如果我的机器上,应用TestApp运行之后,我开始另一个应用程序DemoApp。在这种情况下,wiill CLR被再次加载DemoApp?否则将使用由TestApp加载的同一个?

e.g. If on my machine, application "TestApp" is running and after that I start another application "DemoApp". In this case, wiill CLR be loaded again for DemoApp? Or it will use the same one which is loaded by TestApp?

推荐答案

是的,和组件JIT编译的,堆的分配等等。 Windows映像加载器会有点帮助,但总的来说CLR的开销是每个进程。

Yes, and assemblies are JIT compiled, heaps are allocated and so forth. The Windows image loader will help a bit but in general the CLR overhead is per process.

这篇关于是CLR加载和初始化每次,当一个新的托管应用程序加载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆