Jan 30th, 2012, 09:54 AM
I need some help/explanation about spring bootstrap.
I have application context with approximately 600 beans. When starting my server, context initialization part takes about 1.5 minutes. after checking with profiler I see that "isTypeMatch" of DefaultListableBeanFactory is called for about 60000 times and it takes a lot of time.
so my question is next: is this method supposed to be called for these many times? and if yes - why is it?
i would expect from initialization of context to be O(k), where k is number of beans, but it seems to have some other complexity.
Tags for this Thread