JIT-compiler options RRS feed

  • Question

  • How does JIT tracking and optimization work in a mix-mode application?


    Do I create a MyExeApp.ini that covers all loaded assemblies or do I create a MyManagedDll.ini for each assembly with the below content?

    [.NET Framework Debugging Control]


    Does this work for all clr versions ?



    Thursday, April 24, 2008 8:09 PM


  • AFAIK you should create a MyExeApp.ini because it affects the CLR when it loads into the process.  However, you can always check for yourself.  For example, compile the app as Release with AllowOptimize=0 and then see if method inlining happens, for example.

    For more details:
    Friday, April 25, 2008 10:59 AM