[jboss-jira] [JBoss JIRA] (LOGMGR-38) Avoid SimpleDataFormat
David Lloyd (JIRA)
jira-events at lists.jboss.org
Thu Mar 22 22:47:47 EDT 2012
[ https://issues.jboss.org/browse/LOGMGR-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lloyd resolved LOGMGR-38.
-------------------------------
Fix Version/s: 1.2.3.GA
1.3.0.Beta1
Resolution: Done
> Avoid SimpleDataFormat
> ----------------------
>
> Key: LOGMGR-38
> URL: https://issues.jboss.org/browse/LOGMGR-38
> Project: JBoss Log Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Clebert Suconic
> Assignee: David Lloyd
> Fix For: 1.2.3.GA, 1.3.0.Beta1
>
>
> SimpleDateFormat is a really dumb thing... it creates a synchronization point as it contains state on the class. (Can you believe that).
> We have been bitten by SDF in the past as it "fixed" our bugs whenever you had races and had enabled trace logging. We could then get better tracing again after removing SDF.
> And that's a bad thing for us on a messaging system with lots of multi-thread behind the scenes (with the types of issues we have to debug).
> So, in order for us to move to jboss-logging (or whatever is underneath or around it), we can't have SDF being synchornized on every log being written.. that's just prohibitive for us.
> For that reason we need SDF out of logging.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list