- Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Closed
Copy link
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement
Milestone
Description
In the course of #21843, it turns out that CommonAnnotationBeanPostProcessor uses an inverted loop where ClassUtils.getMostSpecificMethod is called at the outer level before actually finding an annotation, whereas AutowiredAnnotationBeanPostProcessor only calls ClassUtils.getMostSpecificMethod for actually annotated methods. Aligning CABPP with AABPP in that respect can avoid significant overhead on startup.
sbrannensdeleuze
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement