spring-projects / spring-data-commons

Spring Data Commons. Interfaces and code shared between the various datastore specific implementations.

Home Page:https://spring.io/projects/spring-data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aligning internal caches with core framework patterns.

christophstrobl opened this issue · comments

Revisit internal cache structures and check usage of ConcurrentReferenceHashMap vs. ConcurrentHashMap . Favour ConcurrentHashMap where possible (eg. for hot code paths) as ConcurrentReferenceHashMap comes with higher cost.