On Mon, 12 Jun 2023 16:23:29 GMT, Roger Riggs <rri...@openjdk.org> wrote:

> One other thing to consider... If the BaseLocale entries are being GC'd 
> sooner, then perhaps the value of the String.intern() is reduced. Eliminating 
> `.intern90` would make creating a normalized BaseLocale faster.

Some code inside the Locale still relies on `intern` and do `==` comparison. 
Yes, it would be faster but I think that would be out of the scope of this fix

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14404#issuecomment-1587760602

Reply via email to