https://issues.apache.org/bugzilla/show_bug.cgi?id=51150

--- Comment #4 from Ognjen Blagojevic <ognjen.d.blagoje...@gmail.com> 
2011-07-26 16:34:24 UTC ---
I just changed bug name to more proper one.

The source of the problem is this:

1. DecimalFormat is not thread safe
2. FOP uses DecimalFormat a lot
3. It takes time to instantiate DecimalFormat, so it is better to keep it for
later reuse (= to cache it).

If that is the case, I wonder, could we use some other caching mechanism
instead of ThreadLocal? Maybe Apache JCS or Ehcache could work for us? They are
both licensed under ASL2.

If you agree, I could try to create drop-in replacement for DecimalFormatCache.

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

Reply via email to