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

                 Key: FELIX-3465
                 URL: https://issues.apache.org/jira/browse/FELIX-3465
             Project: Felix
          Issue Type: Bug
          Components: Resolver
         Environment: All
            Reporter: Thomas Watson


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.

--
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

        

Reply via email to