Thread blocked in the root of the call tree

Code and memory profiling for .NET developers.

Thread blocked in the root of the call tree

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


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.

Posts: 1
Joined: Mon Dec 15, 2008 4:51 pm

Postby Bart Read » Mon Dec 15, 2008 6: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.


Bart Read
Principal Consultant Ltd
Bart Read
Posts: 980
Joined: Thu Mar 31, 2005 10:17 am
Location: Cambridge, UK

Return to ANTS Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests