RFR: 8348880: Replace ConcurrentMap with AtomicReferenceArray for ZoneOffset.QUARTER_CACHE [v8]

Shaojin Wen swen at openjdk.org
Wed Jan 29 11:34:57 UTC 2025


On Wed, 29 Jan 2025 10:38:39 GMT, altrisi <duke at openjdk.org> wrote:

> quarters

The size of AtomicReferenceArray is 256, and using `& 0xff` can eliminate array bounds checking.

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

PR Comment: https://git.openjdk.org/jdk/pull/23337#issuecomment-2621393609


More information about the core-libs-dev mailing list