static Thread getLockOwner(Lock lock) { ret lock == null ? null : ((ReentrantLock) lock).getOwner(); }