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

Alex Menkov amenkov at openjdk.org
Mon Jan 26 21:30:23 UTC 2026


On Thu, 18 Dec 2025 20:00:45 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

This pull request has now been integrated.

Changeset: b099d9c3
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/b099d9c38f89ac3393c037197d05f8be144e639b
Stats:     580 lines in 7 files changed: 575 ins; 0 del; 5 mod

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

Reviewed-by: sspitsyn, cjplummer

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

PR: https://git.openjdk.org/valhalla/pull/1834


More information about the valhalla-dev mailing list