<i18n dev> RFR: 8301552: Use AtomicReferenceArray for caching instead of CHM in ZoneOffset [v8]

Chen Liang liach at openjdk.org
Tue Mar 21 13:57:26 UTC 2023


On Tue, 21 Mar 2023 07:29:49 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> It can. I think either works fine. Maybe a bit nicer with a method reference as you propose.
>
> Perhaps you mean the method could be *replaced* with `Integer::valueOf"? Good suggestion.

Yes, `Integer::valueOf` is a better replacement of individual `intIdentity` calls. Thought you may want this method so only one lambda callsite would be generated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/12346#discussion_r1143417225


More information about the i18n-dev mailing list