DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38483>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38483





------- Additional Comments From [EMAIL PROTECTED]  2006-04-14 02:20 -------
The dumb fix is to create a new simpledateformat every method call (a bit memory
trashing for high volume servers)

I smarter is to use threadlocal caching: the valve creates a threadlocal to put
a simpledate format. 25 thread would imply 25 simpledateformat. Only costs are
the threadlocal map lookup and a bit larger heap (more long lived objects
implies a bit longer full GC, but less young gc).


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to