Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

How to filter managed threads that are unsafe or during JIT compilation or garbage collection for sampling profiler?

$
0
0

Hi,

I am writing a  sampling profiler, but I get some trouble.

I make a profiler for iis. When the site start and start sampling at the same time, the site will be very very slow , and then  about 2~3 min the w3wp.exe  seems to be killed.

I think the problem is due to sampling a thread that is JIT compiling or garbage collection.

How to filter managed threads that are unsafe for CLR or during JIT compilation or garbage collection?



Viewing all articles
Browse latest Browse all 1710

Trending Articles