CLR 4.5: Multicore Just-in-Time (JIT)

added by eknowledger
4/26/2012 8:54:16 AM


.Net 4.5 introduce the concept of Parallel JIT Compilation, where a background thread runs on a separate processor core taking care of the JIT Compilation while the main execution thread running on a different core. In ideal scenario the JIT Compilation thread gets ahead of the main thread execution thread so whenever a method is required it is already Compiled. The question now which methods are required for the startup? in order for the background thread to compile to be ready for a faster startup. That leads us to the new ProfileOptimization type.


4/26/2012 8:50:59 AM
I never realized that JIT was only single-threaded.