geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Created: (XBEAN-156) BundleClassLoader.getResource() lookup is slow
Date Tue, 07 Sep 2010 20:29:32 GMT
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.


Mime
View raw message