473,395 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

When is the Jitting performed?

When the app started the first time, or every time I run the app? If yes, is
all the code Jitted by once or are only relevant parts of the code jitted?
If the first applies, is the resulting native code stored somewhere?

I heard different people saying very different things so I'm not sure what
to believe.

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
Nov 22 '05 #1
1 2632
No, JITing is done as each method is called. Uncalled methods are not Jited.
The IL in the called method is JITed and then the native CPU instructions
are stored (Cached) in memory. See Richter page 15 "Applied Microsoft .NET
Framework Programming" for a picture and a blow by blow description. You can
also use NGEN to "pre-compile" an entire assembly but then the entire
assembly takes up storage on disk even if you use 1% of it as well as other
drawbacks.
--
Sam Gentile [C#/.NET MVP]
..NET Blog http://samgentile.com/blog/
"codymanix" <do*********************@gmx.de> wrote in message
news:e5**************@TK2MSFTNGP09.phx.gbl...
When the app started the first time, or every time I run the app? If yes, is all the code Jitted by once or are only relevant parts of the code jitted?
If the first applies, is the resulting native code stored somewhere?

I heard different people saying very different things so I'm not sure what
to believe.

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: codymanix | last post by:
When the app started the first time, or every time I run the app? If yes, is all the code Jitted by once or are only relevant parts of the code jitted? If the first applies, is the resulting native...
4
by: Sagaert Johan | last post by:
i get this error if i write this : using System.Net.Sockets; .... .... TcpClient tcp; tcp=new TcpClient();
3
by: Dave Harris | last post by:
Is there an effective way to get a running log of JITTED functions as a program executes? We have a process monitor that is telling us that 2000+ functions are jitting just to get to our to the...
9
by: Simon | last post by:
Hi, I have written an ActiveX object to resize images and upload them to a database, this all works fine but when I close internet explorer the process iexporer.exe is still running in my task...
4
by: George | last post by:
Dear All, I'm compiling the code below with IBM's xlC 6.0 and get the message, "rmspace.cpp", line 34.48: 1540-0298 (S) Template argument deduction cannot be performed using the function...
7
by: Bernard Lebel | last post by:
Hello, I'm stumbled at a serious problem, and quite frankly getting desparate. This is a rather long-winded one so I'll try to get straight to the point. I have this Python program, that...
2
by: dustbort | last post by:
I recently had a problem where my required field validator stopped working. But, the page still posted back and tried to insert a record into the database without performing server-side validation....
10
by: =?Utf-8?B?QXhlbCBEYWhtZW4=?= | last post by:
Hi, disassembling following expression I noticed that the implicit conversion between int and decimal appears to be performed at runtime. Why? TIA, Axel Dahmen void Main() {
0
by: Justin Dutoit | last post by:
Hey! I'm sorry if this is a bit of a newbie question, but I am gettting unwanted 'Runtime error' messages, i.e. not the error proper, and customErrors mode="Off" doesnt' seem to work. My web.config...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.