Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

.NET deadlock detection

Moderators: Vladimir Kondratyev, Anton Katilin

.NET deadlock detection

Postby DrKnow » Fri Jan 27, 2012 2:52 pm

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
DrKnow
 
Posts: 2
Joined: Fri Jan 27, 2012 2:46 pm

Re: .NET deadlock detection

Postby Anton Katilin » Fri Jan 27, 2012 4:08 pm

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
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Re: .NET deadlock detection

Postby DrKnow » Sun Jan 29, 2012 10:11 pm

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 ?
DrKnow
 
Posts: 2
Joined: Fri Jan 27, 2012 2:46 pm

Re: .NET deadlock detection

Postby Anton Katilin » Mon Jan 30, 2012 10:49 am

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.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to .NET Profiler

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests