tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38483] access log valve uses simpledateformat in tread-unsafe way
Date Fri, 04 Apr 2008 12:34:35 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=38483





--- Comment #10 from Rainer Jung <rainer.jung@kippdata.de>  2008-04-04 05:34:35 PST
---
Since we are collecting ideas:

- FastDateFormat from commons.lang
- Joda Time (also seems to be ASL licensed)

Both would add another foreign dependency but are thread safe in their
formatters. I didn't look at their performance though. A concurrent
microbenchmark could be adequate here.

Peter: why do you expect a leak, if we put the SimpleDateFormat into a
ThreadLocal? Do we have any indication, that when shrinking the pool, any
references to the removed Threads remain?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message