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 pull request has now been integrated. Changeset: 5814c9d4 Author: Chris Plummer <[email protected]> URL: https://git.openjdk.org/valhalla/commit/5814c9d438c8e71a9e129c689ef58765a7f1d5a1 Stats: 120 lines in 4 files changed: 4 ins; 111 del; 5 mod 8383424: [lworld] Undo JDK-8373202 changes Reviewed-by: sspitsyn ------------- PR: https://git.openjdk.org/valhalla/pull/2373
