[concurrency-interest] Deadlock with when no threads have the lock
kirk at kodewerk.com
Fri Jun 16 18:55:31 EDT 2017
If you have a lock with nothing holding on to it then either a VM thread has the lock. The most common culprit are GC threads. I’ve not taken a deep look at the code but you could set -XX:+PrintConcurrentLocks which would give you an idea if the problem is with the re-enterant lock. Not looked too deeply at the code but I don’t see anything obvious at the moment.
> On Jun 16, 2017, at 11:36 PM, Ken Sipe <kensipe at gmail.com> wrote:
> We have encountered a strange deadlock scenario in which it appears that all threads are waiting on acquiring a ReentrantLock, but no thread has the lock.
> Any thoughts on this?
> https://gist.github.com/timcharper/9ab4fea9da4669e620507e85e764d94a <https://gist.github.com/timcharper/9ab4fea9da4669e620507e85e764d94a>
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest