On Wed, 25 Feb 2026 18:10:40 GMT, Roger Riggs <[email protected]> wrote:

> System.identityHashCode for value instance should include a salt value that 
> varies by class.
> This improves the distribution of hashcodes for value classes with similar 
> primitive fields.
> The class hashCode is a decent salt value and is readily available.

Marked as reviewed by phubner (Committer).

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

PR Review: 
https://git.openjdk.org/valhalla/pull/2169#pullrequestreview-3866257268

Reply via email to