Does JITting occur per-assembly or per-method? How does this affect the working set
Does JITtin开发者_如何学Pythong occur per-assembly or per-method? How does this affect the working set
Per method. Methods that are not called are not compiled thus reducing impact on the working set.
This may help: Does the .NET CLR JIT compile every method, every time?
I agree with Daniel.
If you have access to it, Jeffrey Richter's CLR via C# book provides an excellent overview of how JIT'ing occurs and how the CLR handles the results. It's a clear and concise explanation.
精彩评论