Thread blocked in the root of the call tree
Meidan
Posts: 2
Hi,
I'm trying to profile a windows service. the profiling result call tree has several roots, one of which is a "Thread Blocked" that says it takes 25% wall-clock time.
How can I tell where it comes from? I have no special I/O or locks that I suspect.
Thanks.
I'm trying to profile a windows service. the profiling result call tree has several roots, one of which is a "Thread Blocked" that says it takes 25% wall-clock time.
How can I tell where it comes from? I have no special I/O or locks that I suspect.
Thanks.
Comments
It's almost certainly the garbage collection thread. You can verify that it's nothing to do with your code by using the threads drop-down (on toolbar beneath results tree view) to cycle through the results for your different threads.
Hope that helps.
Thanks,
Bart
Principal Consultant
bartread.com Ltd