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

Alex Menkov amenkov at openjdk.org
Fri Jan 16 22:11:21 UTC 2026


> 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:

  space

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1834/files
  - new: https://git.openjdk.org/valhalla/pull/1834/files/34c9c2bd..55ba1462

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1834&range=03
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1834&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/1834.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1834/head:pull/1834

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


More information about the valhalla-dev mailing list