Reduce footprint due to RootBeanDefinition [SPR-11343] #15967
Labels
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
AdiB opened SPR-11343 and commented
Related to #12149
RootBeanDefinition members (externallyManagedConfigMember, externallyManagedInitMethods,externallyManagedDestroyMethods) are initialized even if not in use.
Setting ConcurrentHashMap initial size as 0 is not good enough it still allocates a map with ~ 10 empty elements.
Should delay the initialization.
For example -
Affects: 3.2.6, 4.0 GA
Issue Links:
Referenced from: commits d9ab6aa, a599b57
Backported to: 3.2.7
The text was updated successfully, but these errors were encountered: