RFR: 8348880: Replace ConcurrentMap with AtomicReferenceArray for ZoneOffset.QUARTER_CACHE [v10]
Naoto Sato
naoto at openjdk.org
Wed Jan 29 18:03:51 UTC 2025
On Wed, 29 Jan 2025 17:53:04 GMT, Shaojin Wen <swen at openjdk.org> wrote:
>> ZoneOffset.MINUTES_15_CACHE uses AtomicReferenceArray to replace ConcurrentMap to avoid object allocation caused by boxing from int to Integer during access.
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
>
> from @naotoj
LGTM. Thanks for the fix
-------------
Marked as reviewed by naoto (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23337#pullrequestreview-2581828756
More information about the core-libs-dev
mailing list