Skip to content

Cache order result per Class in OrderUtils (for AnnotationAwareOrderComparator) [SPR-17064] #21602

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-17064 and commented

As a follow-up to #21271, it turns out that AnnotationAwareOrderComparator can become a hotspot. Caching annotation-derived order results per Class, ideally at OrderUtils level, should provide significant benefits in scenarios with repeated sort attempts.


Affects: 5.0.6

Issue Links:

Referenced from: commits 4d3a899, d0bbbf4

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions