-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Eberhard Wolff opened SPR-6870 and commented
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.
Affects: 2.5.6
Attachments:
- perf305MainPatch.html (110.13 kB)
- perf305stock.html (120.62 kB)
- perfDiffStockVsPatch1.html (154.63 kB)
- SPR6870.patch (2.63 kB)
Sub-tasks:
- Backport "Cache by-type lookups in DefaultListableBeanFactory" [SPR-9448] #14083 Backport "Cache by-type lookups in DefaultListableBeanFactory"
Issue Links:
- Major Performance Problem in ApplicationContext Creation and Prototype Bean Lookup by Type [SPR-9296] #13934 Major Performance Problem in ApplicationContext Creation and Prototype Bean Lookup by Type ("is duplicated by")
- Improve performance of DefaultSingletonBeanRegistry.getSingletonNames(..) for high-concurrent-load applications [SPR-7949] #12604 Improve performance of DefaultSingletonBeanRegistry.getSingletonNames(..) for high-concurrent-load applications ("is duplicated by")
- Improve performance of bean lookup by type for DefaultListableBeanFactory [SPR-8095] #12750 Improve performance of bean lookup by type for DefaultListableBeanFactory ("is duplicated by")
Referenced from: commits 841d953, 0d18deb, db1cb13, f75c01d, 4c7a1c0
45 votes, 45 watchers
Metadata
Metadata
Assignees
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement