tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 38483] access log valve uses simpledateformat in tread-unsafe way
Date Fri, 04 Apr 2008 12:34:35 GMT

--- Comment #10 from Rainer Jung <>  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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message