On Wed, 14 Jan 2026 22:39:34 GMT, Alex Menkov <[email protected]> wrote:

>> We didn't do similar for Loom related APIs. I looked through the current 
>> canXXX list, and they all seem related to JVMTI capabilities, which don't 
>> apply to these two APIs. I think the expectation should be that the user 
>> checks the JDWP version to determine if it is implemented.
>
> I see now how the "versioning" works.
> I added `boolean VirtualMachineImpl.canUseIsSameObject()` to check if 
> IsSameObject/ObjectHashCode are available

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

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

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

Reply via email to