I’m profiling my application in Visual Studio and the function with the most exclusive samples taken is ThePreStubAMD64.
(I’m using Performance Explorer to review my CPU Sampling report.)
However, I can’t find much for documentation on what this is or what is actually calling this function. The Function Details view in Performance explorer isn’t much help with locating the exact line that is calling this function. (Maybe I’m doing it wrong 🙂 )
It’s being called from multiple functions, but the exact location is a mystery.
Any idea on what this is and how it is being called would be helpful. Or any help with the Performance Explorer and tracking down code (Correlating the function name in the Function Details view ithe the Function Code View would be helpful).
This is an internal method to .NET for JIT. It is a little harder to find any docs on it, because it is the 64 Bit version of PreStubWorker. Search for that and you will find lots of information.