You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2012/05/25 20:10:24 UTC

[jira] [Closed] (FELIX-3465) Multi root resolve operations may cause duplicate blame chains to be created

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

Richard S. Hall closed FELIX-3465.
----------------------------------

    Resolution: Fixed

Ok, I applied the proposed patch.
                
> 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: Framework, Resolver
>    Affects Versions: framework-4.0.2
>         Environment: All
>            Reporter: Thomas Watson
>            Assignee: Richard S. Hall
>             Fix For: framework-4.2.0
>
>         Attachments: 3465.txt, FELIX-3465-FIX.txt
>
>
> 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