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

Shaojin Wen swen at openjdk.org
Wed Jan 29 02:44:31 UTC 2025


> 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:

  add test for quarter cache

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23337/files
  - new: https://git.openjdk.org/jdk/pull/23337/files/1800ba8a..4858b0f3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23337&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23337&range=04-05

  Stats: 29 lines in 1 file changed: 29 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23337.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23337/head:pull/23337

PR: https://git.openjdk.org/jdk/pull/23337


More information about the core-libs-dev mailing list