Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.6.0
-
None
-
None
Description
while working on Maven memory consumption issue MNG-6571, once VersionRange is made immutable, memory used was divided by 2: the next big expected win is to make Dependency immutable, which would probably once again divide memory by 2 because the vast majority of time, dependencies (be it in dependencyManagement or base dependencies) are inherited without any modification
this will require to change ModelMerger 's mergeDependency(Dependency target, Dependency source, boolean sourceDominant, Map<Object,Object> context) signature, since is not really an immutable friendly signature
and also make Dependency code immutable (generated by Modello)
Attachments
Attachments
Issue Links
- relates to
-
MNG-6571 Maven memory consumption issue
- Closed