On 28/11/2012 2:10 AM, Dmytro Sheyko wrote:
Hi,
One more patch regarding deadlock detection.
https://bugs.openjdk.java.net/show_bug.cgi?id=100059
Deadlock detection mechanism assumes that thread cannot block itself. In
general this is not right, especially in case of non-reentrant mutexes.
Ar
Thinking more on this ... it is a self-deadlock if a thread is blocked
on an AbstractOwnableSynchronizer and the owner is that thread. That
won't catch everything though - eg non-reentrant RWL and you tried to
upgrade from RL to WL.
David
On 28/11/2012 12:53 PM, David Holmes wrote:
On 28/11/
.
Regards,
Dmytro
> Date: Wed, 28 Nov 2012 12:53:38 +1000
> From: david.hol...@oracle.com
> To: dmytro_she...@hotmail.com
> CC: hotspot-runtime-...@openjdk.java.net; serviceability-dev@openjdk.java.net
> Subject: Re: Deadlock detection mechanism incorrectly assumes that thread
> c