Hi,
this method obtains the lock requestor associated with the current
thread, which ultimately performs an ThreadLocal.get(key).
Can't we pass the lock owner to the lock before acquiring locks to avoid
this lookup map lookup? This would mean some code changes, but I think
we'll gain some performance.
Cheers,
Mircea