You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2012/06/07 17:14:23 UTC

[jira] [Closed] (XBEAN-156) BundleClassLoader.getResource() lookup is slow

     [ https://issues.apache.org/jira/browse/XBEAN-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet closed XBEAN-156.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.8
    
> 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
>            Assignee: Kevan Miller
>             Fix For: 3.8
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira