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

Alex Menkov amenkov at openjdk.org
Thu Jan 15 02:37:08 UTC 2026


On Thu, 15 Jan 2026 02:11:02 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Can you explain your "versioning" comment. My point was that by using versioning you should not need VirtualMachine.canUseIsSameObject

`VirtualMachineImpl.canUseIsSameObject()` checks that JDWP version >= 27 (similar to 
`VirtualMachineImpl.mayCreateVirtualThreads()` which checks that version >= 19 and some other VirtualMachineImpl methods)

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

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


More information about the valhalla-dev mailing list