Blogs by topic Performance and user staufferjames
Could java.util.concurrent.lock.Lock use a static list of all threads that have locks and ThreadLocal locks lists to know about all in use locks and then check for incorrect order when lock() is called.
Check the ThreadLocal list and if there are no other locks then proceed.
Else if there are other locks then look through other threads to determine if any have any of the same...
on Jul 15, 2013
One connection good.
Then two connections better.
Or maybe not so.
on Dec 17, 2007