Skip to content

Cache detected factory methods in ObjectToObjectConverter [SPR-13703] #18278

@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-13703 and commented

ObjectToObjectConverter currently rediscovers the methods to use on every conversion which can cause quite some performance implication if it's used heavily.

We've got DATAMONGO-1324 filed observing that behavior. Although the performance decrease is caused by a more explicit converter accidentally not being registered out of the box, I wonder whether caching the detected methods could improve performance for the scenarios ObjectToObjectConverter is used on purpose.


Affects: 4.2.3

Referenced from: commits 3234d9e, 44651fd

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