Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-12106

Remove synchronization around filteredPropertyDescriptorsCache in case of non-existing entry

    XMLWordPrintable

    Details

    • Last commented by a User:
      true

      Description

      AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck synchronizes on filteredPropertyDescriptorsCache.

      filteredPropertyDescriptorsCache is a ConcurrentHashMap, so such synchronization is not necessary.

      Removing the lock would improve concurrency.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              candrews Craig
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 31 weeks, 3 days ago