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

Alex Menkov amenkov at openjdk.org
Fri Jan 16 22:07:17 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:

  test update

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

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

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

  Stats: 37 lines in 1 file changed: 23 ins; 1 del; 13 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