Skip to content

Cache BridgeMethodResolver results #22579

Closed
@philwebb

Description

@philwebb

Some analysis shows that it's quite common for the BridgeMethodResolver to be asked about the same method multiple times. Although not massively expensive (since we already lean on existing method and resolvable type caches), there is still some overhead with these calls. Given the relatively small number of bridge methods, it might be worth adding a cache for the results.

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