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. A scan of the above thread dump reveals that all threads are stuck on Lock.scala:7, which is as follows:
/Users/tim/src/m8e/marathon-1.4/src/main/scala/mesosphere/marathon/util/Lock.scala
1 | package mesosphere.marathon.util
2 |
3 | import java.util.concurrent.locks.{ ReentrantLock, ReentrantReadWriteLock }
4 |
5 | class RichLock(private val lock: ReentrantLock) extends AnyVal {