Remove synchronization around filteredPropertyDescriptorsCache in case of non-existing entry [SPR-12106] #16722
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Craig opened SPR-12106 and commented
AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck synchronizes on filteredPropertyDescriptorsCache.
filteredPropertyDescriptorsCache is a ConcurrentHashMap, so such synchronization is not necessary.
Removing the lock would improve concurrency.
Affects: 4.1 RC2
Issue Links:
Referenced from: commits 8eac870
The text was updated successfully, but these errors were encountered: