Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.6.2
-
None
-
None
Description
synchronized method DefaultProjectBuildingHelper#createProjectRealm invokes io under lock:
public CacheKey( List<Artifact> extensionArtifacts ) return new CacheKey( extensionArtifacts ); public Key createKey( List<Artifact> extensionArtifacts ) final ExtensionRealmCache.Key extensionKey = extensionRealmCache.createKey( artifacts ); final ExtensionRealmCache.Key extensionKey = extensionRealmCache.createKey( artifacts ); extensionRecord = extensionRealmCache.get( extensionKey );
That prevents graph build scaling in multithreaded implementation and slows down build in general. Having this operation improved allows to build graph faster up to 3..6 times for interim results processing
Attachments
Issue Links
- relates to
-
MNG-6774 Speedup project graph build by paralleling operations
- Open
- links to