When more than one remote locker is waiting on a local lock, only the first is notified when the lock is released. The rest wait their full timeout before (successfully) returning.
Created attachment 1190788 [details] bz1366939-test.patch Test case that demonstrates issue.
The main issue is that unlock only wakes up one waiter: LockSupport.unpark(waiters.peek()); But LocalLock.lockForRemoteNode/ClusterHandler.lockFromCluster also only let one waiter at a time take the lock (which is then removed).
Verified with EAP 6.4.11.CP.CR1
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.