Skip to content

Reduce GC pressure in SpringConfigurationPropertySource #14563

@philwebb

Description

@philwebb

The current SpringConfigurationPropertySource implementation uses a var-args array to merge multiple mappers. In practice, there is only a maximum of two. Furthermore, it's often the case that one of the mapped results will be null so the merging can be short-circuited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions