[ https://issues.apache.org/jira/browse/MRESOLVER-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Cservenak reassigned MRESOLVER-586: ----------------------------------------- Assignee: Tamas Cservenak > In typical setups, DefaultArtifact copies the same maps over and over again > --------------------------------------------------------------------------- > > Key: MRESOLVER-586 > URL: https://issues.apache.org/jira/browse/MRESOLVER-586 > Project: Maven Resolver > Issue Type: Improvement > Components: Resolver > Affects Versions: 2.0.0, 1.9.21 > Reporter: Guillaume Smet > Assignee: Tamas Cservenak > Priority: Major > Fix For: 2.0.1, 1.9.22 > > > h2. Context > This is part of some work we are trying to do to reduce the build time usage > memory of Quarkus. > We discussed this a bit with Tamas. > While this doesn't constitute a fix for our main issue, it should be an easy > win. > h2. Problem > We have a BOM with 2000+ entries and in `ArtifactDescriptorReaderDelegate`, > the managed dependencies are copied to the descriptors using the `convert` > method that in turn will create a new DefaultArtifact. > Most of these DefaultArtifacts contain a copy of the very same > `type.getProperties()` as they don't have specific artifact properties. > Improving the DefaultArtifact#merge() method to avoid the copy when the > artifact doesn't have any specific properties would already be an easy win. > PR to come. -- This message was sent by Atlassian Jira (v8.20.10#820010)