RFR: 8321470: ThreadLocal.nextHashCode can be static final

Brett Okken duke at openjdk.org
Wed Dec 6 17:23:41 UTC 2023


The static AtomicInteger used for the nextHashCode should be final.

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

Commit messages:
 - Merge remote-tracking branch 'upstream/master' into threadlocal_final
 - make ThreadLocal.nextHashCode final

Changes: https://git.openjdk.org/jdk/pull/16987/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16987&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8321470
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16987.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16987/head:pull/16987

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


More information about the core-libs-dev mailing list