This PR changes to use ConcurrentHashMap.newKeySet() where feasible.

See https://github.com/spring-projects/spring-framework/pull/32294