You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/06/30 18:05:43 UTC
[jira] [Resolved] (TIKA-865) MimeTypes.forName should avoid
method-level synchronization
[ https://issues.apache.org/jira/browse/TIKA-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved TIKA-865.
--------------------------------
Resolution: Won't Fix
Resolving as Won't Fix until there's more evidence of this being a real performance issue.
> MimeTypes.forName should avoid method-level synchronization
> -----------------------------------------------------------
>
> Key: TIKA-865
> URL: https://issues.apache.org/jira/browse/TIKA-865
> Project: Tika
> Issue Type: Improvement
> Components: mime
> Affects Versions: 1.1
> Reporter: Andrzej Bialecki
>
> MimeTypes.forName can avoid method-level sync, instead it could push down the sync block only if a modification of Map<MediaType,MimeType> types is required. In most cases this should be enough to free the common case (i.e. when a media type is already registered) from synchronization.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira