[ 
https://issues.apache.org/jira/browse/TIKA-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210240#comment-13210240
 ] 

Jukka Zitting commented on TIKA-864:
------------------------------------

Like in TIKA-865, is this a real measurable performance bottleneck? If not, I 
suggest we keep the code as is.
                
> Metadata.formatDate should use ThreadLocal
> ------------------------------------------
>
>                 Key: TIKA-864
>                 URL: https://issues.apache.org/jira/browse/TIKA-864
>             Project: Tika
>          Issue Type: Improvement
>          Components: metadata
>            Reporter: Andrzej Bialecki 
>
> Currently this is a synchronized method that uses a single instance of 
> DateFormat. Instead it could use a pool of ThreadLocal DateFormat instances 
> and avoid the sync blocking.

--
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

        

Reply via email to