BundleClassLoader.getResource() lookup is slow
----------------------------------------------
Key: XBEAN-156
URL: https://issues.apache.org/jira/browse/XBEAN-156
Project: XBean
Issue Type: Bug
Components: bundleutils
Affects Versions: 3.8
Reporter: Jarek Gawor
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.