[jdk21u-dev] RFR: 8338064: Give better error for ConcurrentHashTable corruption

Satyen Subramaniam ssubramaniam at openjdk.org
Sat Mar 15 05:22:12 UTC 2025


Backporting JDK-8338064: Give better error for ConcurrentHashTable corruption. When nodes in the ConcurrentHashTable get corrupted and their hash codes don't match, resizing fails with an unhelpful message - this change makes the error clearer and adds a test to confirm this. Ran GHA Sanity Checks, and local Tier 1, and Tier 2 tests. Patch is clean.

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

Commit messages:
 - Backport 069e0ea69f43960164d3e077d2c7b950cde77927

Changes: https://git.openjdk.org/jdk21u-dev/pull/1498/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1498&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338064
  Stats: 69 lines in 3 files changed: 68 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1498.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1498/head:pull/1498

PR: https://git.openjdk.org/jdk21u-dev/pull/1498


More information about the jdk-updates-dev mailing list