On Mon, 27 Apr 2026 16:47:33 GMT, Chris Plummer <[email protected]> wrote:

> [JDK-8373202](https://bugs.openjdk.org/browse/JDK-8373202) added the JDWP 
> ObjectReference.IsSameObject and ObjectRefence.ObjectHashCode commands along 
> with changes in JDI ObjectReference.equals() and ObjectReference.hashCode() 
> to use these new commands. This was needed to work around the possibility of 
> a value object that is referred to by the ObjectReference actually changing 
> due to it being under construction when first accessed. This is no longer the 
> case due to [JDK-8382704](https://bugs.openjdk.org/browse/JDK-8382704), which 
> changes JVMTI to always return a snapshot of the "this" object in an object 
> constructor rather than return the actual object under construction.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This looks good.

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

Marked as reviewed by sspitsyn (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2373#pullrequestreview-4184913223

Reply via email to