Hi friends,
I want to know that does JITting occur per-assembly or per-method? How does this affect the working set?
JITing in C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Feb 13, 2012, 1:46 PM EST
It increases the working set of the process because, once a method has been converted to native code, the latter is cached in memory in case the method needs to be called again.
Jignesh TrivediRank #16 · 50.3K reputationPosted Feb 13, 2012, 5:35 PM EST
Per method. Methods that are not called are not compiled thus reducing impact on the working set.
The advantage is that it makes the JIT a lot simpler - there's no need to consider "old" code which is already running, undo optimisations based on premises which are no longer valid etc.
please refer below link
http://research.microsoft.com/apps/pubs/default.aspx?id=121449
hope this help.