On Mon, 12 Jun 2023 17:28:44 GMT, Naoto Sato <na...@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. > >> 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 @naotoj, we are still seeing the CI failures due to this. Are you planning to finish this work? Thanks! ------------- PR Comment: https://git.openjdk.org/jdk/pull/14404#issuecomment-1788686569