On Thu, 18 Dec 2025 20:41:02 GMT, Alex Menkov <[email protected]> wrote:

>> src/jdk.jdwp.agent/share/native/libjdwp/ObjectReferenceImpl.c line 410:
>> 
>>> 408: 
>>> 409:     ref = commonRef_idToRef(env, id);
>>> 410:     (void)outStream_writeInt(out, objectHashCode(ref));
>> 
>> Interesting that the debug agent already has an objectHashCode() but there 
>> were no users of it.
>
> `ObjectReferenceImpl.hashCode()` calculates it by itself from objectID (it 
> should call objectHashCode)

I'm not sure what you are referring to here. I don't see 
`ObjectReferenceImpl.hashCode()`.

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

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

Reply via email to