Skip to content

Add containsDescendantOfCache for system property source #44863

Closed
@philwebb

Description

@philwebb

SpringIterableConfigurationPropertySource has logic to help respond to containsDescendantOf in a performant way if PropertyMapper.DEFAULT_ANCESTOR_OF_CHECK is being used. For system properties, we can't use this mapper so we resort to checking each property name. If we cache the results, we should be able to improve performance.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions