[lworld] RFR: 8375320: [lworld] Revert System.identityHashcode for value objects to non AltSubstitutability version

Roger Riggs rriggs at openjdk.org
Thu Jan 15 17:42:39 UTC 2026


On Wed, 14 Jan 2026 21:57:37 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Restore the unconditional use of value_object_hash_code_method. 
> The Alt hashcode method based on the Unsafe.getFieldMap is not used.
> System.identityHashCode uses ValueObjectMethods.valueObjectHashCode() implemented using the original method-handle implementation.

Can be integrated by anyone after approval.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1907#issuecomment-3756084146


More information about the valhalla-dev mailing list