-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: taskA general taskA general task
Milestone
Description
Oliver Becker opened SPR-6749 and commented
The method findConverterForClassPair in GenericConversionService checks interfaces unnecessarily multiple times. This will lead to a performance penalty if no converter can be found.
The point is that addInterfaceHierarchy() adds the entire interface hierarchy to the classQueue (which was done for fixing #10963). However for every processed interface in the queue its entire hierarchy is appended to queue again. In the end a base interface of a multi-level interface hierarchy will be processed multiple times.
Affects: 3.0 GA
This issue is a sub-task of #10963
Issue Links:
- Review Converter resolution algorithm [SPR-6314] #10980 Review Converter resolution algorithm
- Cache results of Converter lookup in GenericConversionService to improve performance [SPR-7110] #11770 Cache results of Converter lookup in GenericConversionService to improve performance
Referenced from: commits ad93d20
1 votes, 3 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: taskA general taskA general task