[
https://issues.apache.org/jira/browse/FELIX-3465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard S. Hall reopened FELIX-3465:
------------------------------------
Reopening because this patch has caused a regression, see FELIX-3521.
Apparently, we need to be smarter.
> 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
>
>
> 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