code: int waitingThreadsCount() {
  		int result = 0;
  		for (final CountingLock lock : key2lock.values()) {
  			result += lock.getQueueLength();
  		}
  		return result;
  	}
docs: for testing only
  
  @return the number of threads currently waiting in the queues of the key locks