Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / October 2003

Tip: Looking for answers? Try searching our database.

Instances of .Net CLR?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Faraz Rasheed - 05 Oct 2003 16:48 GMT
Hi,

Just want to know whether a new instance of CLR is
started for each .net application or a single instance of
CLR manages the execution of all .net applications on a
machine?

Regards,
Faraz
Jon Skeet [C# MVP] - 05 Oct 2003 17:44 GMT
> Just want to know whether a new instance of CLR is
> started for each .net application or a single instance of
> CLR manages the execution of all .net applications on a
> machine?

At the moment, a new instance of the CLR is used for each explicitly
invoked application, although services may well share a single CLR (I
don't rightly know, to be honest). I would expect this to change over
time though - one of the reasons for the whole AppDomain business is so
that a single CLR *could* host many different applications.

Signature

Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Willy Denoyette [MVP] - 06 Oct 2003 21:02 GMT
Actually, the CLR is not really managing applications, it just creates a VM environment within a Win32 process for managed code. The
CLR is loaded and initialized at application start-up time, that means that each managed application process has his own copy of the
CLR loaded.
Note I'm talking about current supported versions of the OS and CLR, it's possible that upcoming versions of Windows OS could move
whole or a part of the CLR to OS space.

Willy.

> Hi,
>
[quoted text clipped - 5 lines]
> Regards,
> Faraz
Conrad Zhang - 14 Oct 2003 08:02 GMT
Each managed application will loads its own copy of CLR. Sharing of CLR is
done at OS level (basically LoadLibrary()).

> Hi,
>
[quoted text clipped - 5 lines]
> Regards,
> Faraz

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.