Dave
Dave

Reputation: 690

Strange function slowing down my program

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

Answers (2)

Mark Sowul
Mark Sowul

Reputation: 10610

You're probably getting hit by excessive boxing (hence 'struct').

Upvotes: 0

Mike Van Vertloo
Mike Van Vertloo

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

Related Questions