Skip to content

ReflectionUtils slow down application startup on WebSphere [SPR-11882] #16501

Closed
@spring-projects-issues

Description

@spring-projects-issues

Anton Zukovskij opened SPR-11882 and commented

On WebSphere application server (multi-node config) spring context initialization is very slow, our application has big classpath that causes classloader to be quite slow(see WAS_startup.png). After adding cache to ReflectionUtils.findMethod and AnnotationUtils.findAnnotation (see patch.patch) spring context seems to initialize a lot faster (see ReflectionUtils.png and AnnotationUtils.png).


Affects: 3.1.1, 3.2.4

Attachments:

Issue Links:

Referenced from: commits 0298a1f, 5f695a4, 682a910

Backported to: 3.2.10

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