Skip to content

Reduce footprint due to BeanDefinitions [SPR-7491] #12149

Closed
@spring-projects-issues

Description

@spring-projects-issues

Lou-ann Olpindo opened SPR-7491 and commented

Opened on behalf of customer, Requesting for a change on implementing spring classes to reduce heap footprint on their BeanFactories, based on:

  • combination of (a) the number of BeanDefinitions and (b) the size of an individual BeanDefinition instance
  • BeanDefinitions has a number of Maps and Sets that are instantiated but are never populated i.e RootBeanDefinition's externallyManagedConfigMembers, externallyManagedInitMethods, externallyManagedDestroyMethods which are used to process annotations. since not all use annotation, may of the collections are never populated and contribute to heap footprint

Issue Links:

Referenced from: commits e971ad5

0 votes, 6 watchers

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