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

Alex Menkov amenkov at openjdk.org
Thu Jan 15 00:32:11 UTC 2026


On Fri, 19 Dec 2025 18:59:04 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> We have isSameObject too (and it's used in many places)
>
> Yes, the same.

`isSameObject` already exists and is called at ~20 places.
Functions in this file are local, just to register command handlers, so naming are not so important as for existing `isSameObject`

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1834#discussion_r2692528700


More information about the valhalla-dev mailing list