Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3465

Multi root resolve operations may cause duplicate blame chains to be created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • framework-4.0.2
    • framework-4.2.0
    • Framework, Resolver
    • None
    • All

    Description

      I am using the resolver as a "multi-root" resolver in order to resolve all my resources in one pass. This may cause org.apache.felix.resolver.ResolverImpl.calculatePackageSpaces to be called multiple multiple times for the same resource if it is required by multiple resources in the set of resources that is being resolved. This causes an artificial explosion of blame candidates when trying to determine a consistent class space solution. Ultimately this leads to a very long resolution process or worse case an out of memory error.

      Attachments

        1. FELIX-3465-FIX.txt
          2 kB
          Richard S. Hall
        2. 3465.txt
          0.6 kB
          Tom Watson

        Issue Links

          Activity

            People

              rickhall Richard S. Hall
              tjwatson Tom Watson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: