Skip to content

Use shared zero length arrays in ReflectionUtils #22567

Closed
@philwebb

Description

@philwebb

It would be more memory efficient if frequently called ReflectionUtils methods that return empty arrays used a shared static final instance rather than creating a new one each time.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions