Name: ccC48265 Date: 12/23/97
The method java.util.Locale.getDefault() is a static synchronized method
and thus is a central bottle neck for all processing that requires a Locale.
I checked out the source code and one could recode this section of code
so the getDefault method is not synchronized.
e.g. Pull out of the code sequence if defaultLocale is null into another
private method and synchronize that.
It's easy to fix and should help out on performance for server-side Java.
(Review ID: 22360)
=================================================================
###@###.### (Dec 23, 1997):
See also related bug 4101182 (submitted by the same person).
======================================================================
- duplicates
-
JDK-4071298 java.lang.Locale.getDefault() is a public static
-
- Closed
-