JIRA: https://jira.spring.io/browse/INT-3587 There is no ability to use own local LockRegistry to avoid overlapping of produced ReentrantLock objects, it can happens if used unique keys have same masked value for DefaultLockRegistry. Add a constructor to allow the configuration of a lock registry with a differnt number of locks than the default.