/[Apache-SVN]
ViewVC logotype

Revision 1210500


Jump to revision: Previous Next
Author: cstamas
Date: Mon Dec 5 15:36:56 2011 UTC (12 years, 4 months ago)
Changed paths: 2
Log Message:
Performance/locking improvements.

* VersionUtils was syncing on an already thread safe (compiled) Pattern unnecessary, GAV constructor calls into this, causing problem with when bursting GAV creations unnecessary.
* DefaultArtifactPackagingMapper getPackaging2extensionMapping() was synchronized only to be able to construct the Map on 1st invocation. On frequent getExtensionForPackaging() method calls, this may cause congestion.

Changed paths

Path Details
Directorymaven/indexer/trunk/indexer-artifact/src/main/java/org/apache/maven/index/artifact/DefaultArtifactPackagingMapper.java modified , text changed
Directorymaven/indexer/trunk/indexer-artifact/src/main/java/org/apache/maven/index/artifact/VersionUtils.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26