Cache spring.factories loads [SPR-15509] #20068
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Phil Webb opened SPR-15509 and commented
Currently
SpringFactoriesLoader
reloads properties files on each call. Whilst this doesn't appear to be particularly expensive in terms of CPU, it does cause some garbage objects due to an 8K buffer thatProperties
creates each time.We could cache the loaded properties to save repeated loading the same file.
Affects: 4.3.8
The text was updated successfully, but these errors were encountered: