|Re: Pointers on debugging bundle startup times [message #725741 is a reply to message #725731]
||Thu, 15 September 2011 16:19
| Barbara Rosi-Schwartz
Registered: July 2009
Thanks Dmitry. Please see my comments below.|
Are those bundles spring based?
Yes, they are.
Are you importing a lot of required services?
No, we are still at the beginning of development, so the bundles are quite tiny and simple. For instance, one of the bundles in question registers a service and consumes three other services (all via Spring DM)
If you are using spring osgi namespace to import services - try to set those up as optional and see if boot time decreases.
I can try doing that as an exercise, but those services are really required.
There could also be a lot of import expansion going on and you are spending a lot of time in a resolver. How large is your package import set?
Again, the import set is small; here's the Import-Package snippet from the same bundle:
The com.iggroup.* packages are exported by other very small bundles and only contain a few classes each.
Powered by FUDForum
. Page generated in 0.02188 seconds