JDK-5079972 : (tz) Eliminate synchronization from TimeZone.getDefault
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Future Project
  • OS: generic
  • CPU: generic
  • Submitted: 2004-07-29
  • Updated: 2013-11-01
  • Resolved: 2009-06-10
Related Reports
Relates :  
Relates :  
Description
In Tiger, TimeZone.getDefault and getDefaultRef (package private) use a thread local to hold the default TimeZone object. Now it's possible to eliminate synchronization for the methods.
###@###.### 2004-07-29

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
06-08-2004

EVALUATION We can remove synchronized from the method declaration. But we need to synchronize setDefaultZone (private method). ###@###.### 2004-07-29
29-07-2004