[lworld] RFR: 8373202: [lworld] ObjectReference.equals should follow == semantics for value objects [v5]

Serguei Spitsyn sspitsyn at openjdk.org
Fri Jan 23 21:57:48 UTC 2026


On Thu, 22 Jan 2026 21:50:27 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> Updated implementation of ObjectReference.equals and ObjectReference.hashCode to comply the spec for value objects.
>> Added the test for value object ctor debugging, the test verifies the behaviour is expected.
>> There is an issue with instance filter, it till be fixed separately (it's not yet clear how it would be better to fix it)
>> 
>> testing: tier1..4, hs-tier5-svc
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   feedback

Thank you for updates! It looks good to me.

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

Marked as reviewed by sspitsyn (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/1834#pullrequestreview-3699857116


More information about the valhalla-dev mailing list