English 中文(简体)
该网络每当装电网仪器时,其运行时间是否装满? [复制]
原标题:Is .NET runtime loaded each time a .NET app is loaded? [duplicate]
  • 时间:2011-03-29 08:49:56
  •  标签:
  • .net
  • runtime
This question already has answers here:
Closed 12 years ago.

Possible Duplicate:
Is CLR loaded and initialized everytime,when a new managed application is loaded ?

当你开始工作时,我们会有一些。 NET指出,本组织确实必须装上。 该网络每时运作一次还是已经运行?

这笔钱必须装上JIT,然后才能每当期执行吗?

难道这种速度放慢吗? 这项工作如何?

最佳回答
  1. 是的,网络运行时间必须装入以百计的新工艺,因为每个新工艺都需要有线虫、肥皂、新用域等。

  2. 是的,除非它已经通过<代码>ngen汇编,否则,它就已编为JIT d。

  3. 是的,这大大延缓了启动。 仅仅在boot后操作一个视窗格式方案,你在硬盘上看到典型的大约10-20秒延迟。 然而,一旦事情发生,业绩是可以接受的,尽管管理和未管理的守则之间的过渡有时会成为强大的瓶颈,取决于你的守则如何大量援引平台。

问题回答

是的,网络运行时间是每个过程。

Re JIT; it is per-method, so it don t all need to be JITted; and it is well up that. 您可以使用NGEN(或AOT)来避免这种轻微的拖延。 但是,国际投资协议的拖延很少是一个巨大的问题。





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签