Skip to content

Remove synchronization around filteredPropertyDescriptorsCache in case of non-existing entry [SPR-12106] #16722

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions