In a Java thread dump, you can see locks mentioned within stack traces.
There seems to be three kinds of information:

1:

- locked <0x00002aab329f7fa0> (a java.io.BufferedInputStream)

2:

- waiting to lock <0x00002aaaf4ff6fa0> (a org.alfresco.repo.lock.LockServiceImpl)

3:

- parking to wait for  <0x00002aaafbf70bb8> (a java.util.concurrent.SynchronousQueue$TransferStack)
  • 1: The thread has obtained a lock on object 0x00002aab329f7fa0.
  • 2&3: Seem to say that the thread is waiting for the lock on said object to become available...
    but what is the difference 2 and 3?
Edit
Report