You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/12/09 17:50:00 UTC

[jira] [Updated] (JCRVLT-458) DependencyUtil.sortPackages() and DependencyUtil.resolve() very expensive

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

Konrad Windszus updated JCRVLT-458:
-----------------------------------
    Fix Version/s:     (was: 3.4.8)
                   3.4.10

> DependencyUtil.sortPackages() and DependencyUtil.resolve() very expensive
> -------------------------------------------------------------------------
>
>                 Key: JCRVLT-458
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-458
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 3.4.4
>            Reporter: Tobias Bocanegra
>            Priority: Major
>             Fix For: 3.4.10
>
>
> The algorithm to resolve the package dependencies in {{DependencyUtil.resolve()}} is very inefficient and can cause high CPU load and unresponsiveness, of the dependency tree is deep and/or has a lot of unresolvable packages.
> The {{DependencyUtil.sortPackages()}} uses the {{DependencyUtil.resolve()}} in order to sort them in the resolution order.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)