> [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).
Chris Plummer has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision: - Merge branch 'lworld' into 8383424_undo_IsSameObject Merge - update copyrights - Undo 8373202 changes ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2373/files - new: https://git.openjdk.org/valhalla/pull/2373/files/2e7c33dd..fa4a264d Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2373&range=02 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2373&range=01-02 Stats: 14154 lines in 666 files changed: 10373 ins; 1653 del; 2128 mod Patch: https://git.openjdk.org/valhalla/pull/2373.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2373/head:pull/2373 PR: https://git.openjdk.org/valhalla/pull/2373
