[jboss-jira] [JBoss JIRA] (JBLOGGING-80) Avoid SimpleDataFormat
Clebert Suconic (JIRA)
jira-events at lists.jboss.org
Thu Mar 22 17:23:47 EDT 2012
Clebert Suconic created JBLOGGING-80:
----------------------------------------
Summary: Avoid SimpleDataFormat
Key: JBLOGGING-80
URL: https://issues.jboss.org/browse/JBLOGGING-80
Project: JBoss Logging
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Clebert Suconic
Assignee: David Lloyd
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