Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.8
-
None
Description
When looking up META-INF/services resources, the BundleClassLoader obtains a list of bundles wired to the bundle of the classloader in order to check each wired bundle for the given resource. The problem is that the process of figuring out the list of wired bundles is performed each time a lookup on META-INF/services resource is done and the process of getting the wired bundles itself can be pretty slow.
The BundleClassLoader probably needs a better algorithm for getting the wired bundles.