-
Notifications
You must be signed in to change notification settings - Fork 696
Closed
Labels
Milestone
Description
Oliver Drotbohm opened DATACMNS-415 and commented
Original email by mlippert:
The implementation creates a new
ClassPathScanningCandidateComponentProvider
without setting aMetadataReaderFactory
. This causes a new caching metadata reading factory being created every time this method is called, resulting in more or less no caching for the metadata. I am not sure from where to get the appropriateMetadataReaderFactory
, but theConfigurationClassPostProcessor
has the right one. I hope there is a way to reuse that, it would reduce the loading and parsing of byte code a lot.
Affects: 1.7 M1 (Codd), 1.6.3 (Babbage SR2)