By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,613 Members | 1,890 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,613 IT Pros & Developers. It's quick & easy.

When is the Jitting performed?

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.