FailedChanges

Summary

  1. Bug 515668 - Use more efficient APIs to read projects during refresh (details)
Commit 8577d9e70a1e964ee630399e21a2687a81933e87 by Mickael Istria
Bug 515668 - Use more efficient APIs to read projects during refresh
Instead of iterating on projects to invoke N times
readMavenProjectFacades (L399) and each of this time creating depth(N)
MavenProjects (1 for each stage of the parent hierarchy), we accumulate
the projects to update and call readManageProjectFacades only once that
shares hierarchy of objects, resulting in O(N) MavenProject instances.
As a result, we replace "sum of all depths of all projects" instances by
"amount of project" instances, which in most case can be a 2 or 3
factor, and for biggest projects can be a 6 or 7 factor.
The further steps of the refresh operation are not optimized at the
moment, as they're not involved in the usual import step. But they would
be worth a further improvement.
Change-Id: Icf38520d1c220590612dd32f4481eb703827e747 Signed-off-by:
Mickael Istria <mistria@redhat.com>
The file was modifiedorg.eclipse.m2e.core.tests/META-INF/MANIFEST.MF
The file was removedorg.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/tests/AllTests.java
The file was modifiedorg.eclipse.m2e.core.tests/pom.xml
The file was addedorg.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/internal/project/registry/MemoryConsumptionTest.java
The file was removedorg.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/tests/RegistryTest.java
The file was addedorg.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/MavenBugsTest.java
The file was modifiedorg.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/JobHelpers.java
The file was addedorg.eclipse.m2e.core.tests/resources/projects/missingParent/pom.xml
The file was addedorg.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/AllTests.java
The file was removedorg.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/tests/MavenBugsTest.java
The file was addedorg.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/internal/project/registry/RegistryTest.java
The file was modifiedorg.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java