I am wondering does YK profiler have any built-in features for detecting deadlocks in .NET applications ?
How do I identify a deadlock using the profiler ?
Many Thanks,
Mark
.NET deadlock detection
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: .NET deadlock detection
Hello Mark
There is no automatic deadlock detector in the .NET profiler.
You can manually explore running threads, their stacks and running status using Threads view:
http://www.yourkit.com/docs/net60/help/threads.jsp
Best regards,
Anton
There is no automatic deadlock detector in the .NET profiler.
You can manually explore running threads, their stacks and running status using Threads view:
http://www.yourkit.com/docs/net60/help/threads.jsp
Best regards,
Anton
-
- Posts: 2
- Joined: Fri Jan 27, 2012 2:46 pm
Re: .NET deadlock detection
Thanks for your reply, I have come across that link before but I am not sure what would a thread running status of a deadlock indicate ?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: .NET deadlock detection
Deadlocks are not detected automatically.
2 deadlocked threads will be in waiting state. You can suspect a deadlock if the threads are waiting for unexpectedly long time. But it is not necessarily a deadlock, you decide whether it is basing on your knowledge of what the threads should do.
2 deadlocked threads will be in waiting state. You can suspect a deadlock if the threads are waiting for unexpectedly long time. But it is not necessarily a deadlock, you decide whether it is basing on your knowledge of what the threads should do.