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

Cache by-type lookups in DefaultListableBeanFactory

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.5.6
    • Fix Version/s: 3.2 M1
    • Component/s: Core
    • Labels:
    • Last commented by a User:
      true

      Description

      The Autowiring algorithms tries to work out the dependencies by building up the Beans. If this fails, a BeanCreationException is thrown, caught and then a different way to handle the dependencies is tried. In some situations this results in slow performance and it is probably also not the nicest programming style.

      1. perf305MainPatch.html
        110 kB
        Kristian Rosenvold
      2. perf305stock.html
        121 kB
        Kristian Rosenvold
      3. perfDiffStockVsPatch1.html
        155 kB
        Kristian Rosenvold
      4. SPR6870.patch
        3 kB
        Kristian Rosenvold

        Issue Links

          Activity

            People

            • Assignee:
              cbeams Chris Beams
              Reporter:
              eberhardwolff Eberhard Wolff
              Last updater:
              Sylvain LAURENT
            • Votes:
              45 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

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

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 3.5h
                3.5h