Skip to content

XmlBeanDefinitionReader runs 10x slower due to resetBeanDefinition check [SPR-8318] #12966

Closed
@spring-projects-issues

Description

@spring-projects-issues

Matt McQuarrie opened SPR-8318 and commented

When trying to load 700+ beans using:
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions

it takes over 5 min using the 2.5.3 (or 3.0.5) library, but only 24 sec using the 2.0.4 library. This seems to only occur on the AIX JVM.

Please see the attached zip with example scripts loadbeans256.sh and loadbeans204.sh

We have also tested with spring 3.0.5 and the results are similar to 2.5.6.

Thanks for your help with this. This is the first time I've filed a defect so please let me know if I'm missing anything.

  • Matt

Affects: 2.5.6, 3.0.5

Attachments:

Backported to: 3.2.11

1 votes, 6 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions