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

Improve performance of bean lookup by type for DefaultListableBeanFactory

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
    • Last commented by a User:
      true

      Description

      This has been a problem in applications using @Provider combined with @Autowired where the bean look ups exhibit performance problems.

      These are quotes from a user:

      "Under heavy load we are experiencing heavy lock contention in DefaultListableBeanFactory.findAutowireCandidates()."

      "Under heavy load this is severely limiting our throughput".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbeams Chris Beams
                Reporter:
                thomas.risberg Thomas Risberg
                Last updater:
                Trevor Marshall
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 8 weeks, 4 days ago