Use already loaded metadata when possible for AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod [SPR-13144] #17735
Labels
status: bulk-closed
An outdated, unresolved issue that's closed in bulk as part of a cleaning process
Phil Webb opened SPR-13144 and commented
The
AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod()
is called frequently when a typical Spring Boot application starts and tends to show up often when profiling applications.The majority of the calls are resolving
@Configuration
@Bean
methods and since Spring 4.2 now surfacesgetReturnTypeName()
inMethodMetadata
we could use this information rather than needing to iterate all methods in the class.Issue Links:
0 votes, 5 watchers
The text was updated successfully, but these errors were encountered: