Tobias Bocanegra created JCRVLT-458:
---------------------------------------

             Summary: 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
             Fix For: 3.4.6


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)

Reply via email to