Thread blocked in the root of the call tree

Code and memory profiling for .NET developers.

Moderators: Brian Donahue, richardjm, StephenC

Thread blocked in the root of the call tree

Postby Meidan » Mon Dec 15, 2008 5:58 pm

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.
Meidan
 
Posts: 1
Joined: Mon Dec 15, 2008 5:51 pm

Postby Bart Read » Mon Dec 15, 2008 7:35 pm

Hi there,


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
Bart Read
Principal Consultant
bartread.com Ltd
Bart Read
 
Posts: 977
Joined: Thu Mar 31, 2005 11:17 am
Location: Cambridge, UK


Return to ANTS Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests