Skip to content

SPR-12106: Eliminate unnecessary lock around filteredPropertyDescriptorsCache - #630

Closed
candrews wants to merge 1 commit into
spring-projects:masterfrom
candrews:patch-5
Closed

candrews wants to merge 1 commit into
spring-projects:masterfrom
candrews:patch-5

Conversation

@candrews

Copy link
Copy Markdown
Contributor

Since filteredPropertyDescriptorsCache is a ConcurrentHashMap, it's already thread safe - there's no need to also lock it when doing updates.

See https://jira.spring.io/browse/SPR-12106

Since filteredPropertyDescriptorsCache is a ConcurrentHashMap, it's already thread safe - there's no need to also lock it when doing updates.

See SPR-12106
@candrews

Copy link
Copy Markdown
Contributor Author

Same change made by in 8eac870#diff-d41d8cd98f00b204e9800998ecf8427e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant