> The identity hash code of value objects currently can produce 0. A zero value > is usually not anticipated for System.identityHashCode calls unless the > argument is null; the 0 hash also cannot be cached. Thus, we should move away > from the 0 hash. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Chen Liang has updated the pull request incrementally with one additional commit since the last revision: Don't overmask ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32660/files - new: https://git.openjdk.org/jdk/pull/32660/files/227f0e0d..cfe93299 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32660&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32660&range=01-02 Stats: 6 lines in 2 files changed: 0 ins; 2 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/32660.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32660/head:pull/32660 PR: https://git.openjdk.org/jdk/pull/32660
