Reputation: 690
I'm using Visual Studio's performance analysis to determine why my program is slow. The function that takes up 25% of the exclusive CPU samples is a function in clr.dll called
?JIT_New@@YIPAVObject@@PAUCORINFO_CLASS_STRUCT_@@@Z
What does this mean? (I'm using Visual Basic 2012 if that matters.)
Upvotes: 1
Views: 272
Reputation: 10610
You're probably getting hit by excessive boxing (hence 'struct').
Upvotes: 0
Reputation: 192
This question is essentially the same as the one here.
Short answer: JIT_New is allocating memory, and maybe occasionally getting hit with the garbage collection time.
Upvotes: 1