Hi friends,
I want to know that does JITting occur per-assembly or per-method? How does this affect the working set?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Feb 13, 2012, 10:35 PM
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.
VulpesPosted Feb 13, 2012, 6:46 PM
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.