Cache meta-annotations for stereotype check in AnnotationBeanNameGenerator #24980
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
According to #23905 (comment), the
getMetaAnnotationTypes
usage inAnnotationBeanNameGenerator
turned into a bottleneck sincegetMetaAnnotationTypes
is implemented using on-demand retrieval now. As a consequence, we should cache its result for the stereotype check inAnnotationBeanNameGenerator
.The text was updated successfully, but these errors were encountered: