Options

Thread blocked in the root of the call tree

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.

Comments

  • Options
    Bart ReadBart Read Posts: 997 Silver 1
    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
Sign In or Register to comment.