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 / January 2006

Tip: Looking for answers? Try searching our database.

JIT

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg - 20 Jan 2006 05:14 GMT
If I'm not mistaken, for a .NET exe, the JIT compiles the code every time it
is run?
This seems very inefficient, if the JIT has compiled the code, why not
output native so that when it is rerun, it does not have to be compiled? It
seems odd to have to compile a program every time it is run.
Signature

Greg McPherran
www.McPherran.com

Vadym Stetsyak - 20 Jan 2006 15:17 GMT
AFAIK JIT compiler doesn't compile whole application.
If the part of application is not used it is not compiled.

So storing compiled application parts seems not to be efficient enough,
becouse introduces application change tracing. Binary parts must be always
"synchronized" with the app code.

In order too boost the loading ( remove compilation ) - you can use NGEN
tool to produce compiled binary.
Signature

Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

> If I'm not mistaken, for a .NET exe, the JIT compiles the code every time
> it
[quoted text clipped - 3 lines]
> It
> seems odd to have to compile a program every time it is run.
=?iso-8859-1?Q?Patrik=20L=f6wendahl=20[C#=20MVP]?= - 21 Jan 2006 01:19 GMT
NGEN is also a memory saver since you get alot less private pages in memory
when executing code in ngene'd assemblies.

--
Patrik Löwendahl [C# MVP]
http://www.lowendahl.net

> AFAIK JIT compiler doesn't compile whole application. If the part of
> application is not used it is not compiled.
[quoted text clipped - 19 lines]
>> Greg McPherran
>> www.McPherran.co

Rate this thread:







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.