Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-156

BundleClassLoader.getResource() lookup is slow

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8
    • 3.8
    • bundleutils
    • 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.

      Attachments

        Activity

          People

            kevan Kevan Lee Miller
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: