[
https://issues.apache.org/jira/browse/CASSANDRA-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
gabriele renzi updated CASSANDRA-627:
-------------------------------------
Attachment: CASSANDRA-627-1.patch
uses thread safe shared FastDateFormat instance instead of a new
SimpleDateFormat instance for each call in LogUtil.getTimestamp()
> use FastDateFormat instead of SimpleDateFormat
> -----------------------------------------------
>
> Key: CASSANDRA-627
> URL: https://issues.apache.org/jira/browse/CASSANDRA-627
> Project: Cassandra
> Issue Type: Improvement
> Environment: all
> Reporter: gabriele renzi
> Priority: Minor
> Attachments: CASSANDRA-627-1.patch
>
> Original Estimate: 0.17h
> Remaining Estimate: 0.17h
>
> FastDateFormat is thread safe and can be shared by different instances so we
> can avoid the overhead of recreating it every time.
> As in LogUtil we only rely on it for formatting it is a good fit.
> The usage in Circuit is already protected by a lock so probably no real need
> for this change.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.