<i18n dev> RFR: JDK-8282625 Formatter caches Locale/DecimalFormatSymbols poorly [v3]
Jim Laskey
jlaskey at openjdk.java.net
Mon Mar 7 14:27:07 UTC 2022
On Mon, 7 Mar 2022 13:05:09 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:
>> Would it be just as effective and improve performance more broadly to cache in DecimalFormatSymbols.getInstance()?
>>
>> Declarations should be private unless there is a package need.
>> In this case, the only access to should be via the method.
>
> Will investigate
Performance is on par when cached in DecimalFormatSymbols. Will switch to that direction.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7703
More information about the i18n-dev
mailing list