When I install a .NET application, I understand that it will get jitted. My question is does this jitting happen everytime I will run this application or does it happen only the first time? If it happen only first time, where can I find jitted version of this application?
Does jitting happen every time a .NET application runs?
248 views Asked by crazy novice At
2
The assemblies are jitted piecemeal, as needed. Your question seems to imply that the whole application is jit compiled at once. That's not what happens. The parts that have been jitted at any particular moment in time are in memory.
Compiling MSIL to Native Code
It doesn't change the answer to your question, but there are some differences in how the JIT compilation happens with .NET 4.5. On multi-core processors, a thread will be tasked to compile methods before they are actually called.