Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
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
Referenced from: commits 8eac870
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Juergen Hoeller commented
That synchronized block was only hit in case of a non-existing entry... But good point, even then it's not strictly necessary since the PropertyDescriptor array doesn't need to be unique. Revised for 4.1 GA now.
No branches or pull requests