Skip to content

Use less memory and try to skip more classes when processing @Configuration classes #22563

Closed
@philwebb

Description

@philwebb

The ConfigurationClassParser often ends up creating a new SourceClass instance for Object.class. We could use a static to represent this and save ourselves a few object allocations.

The asSourceClass method is also often called with java.lang.annotation instances which can always be skipped.

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