> Use the correct version of `compareAndSetReference` from `Unsafe` to ensure > `AtomicReferenceFieldUpdater` works with value objects. > > The new tests stalls on `testWeakCompareAndSet` without the patch and fails > on compareAndSet tests with that stalling test disabled. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Chen Liang 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: - Test tweaks - Merge branch 'master' of https://github.com/openjdk/jdk into fix/atomic-ref-field-updater-value - 8388310 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32325/files - new: https://git.openjdk.org/jdk/pull/32325/files/e78c5460..6189fbe4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32325&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32325&range=00-01 Stats: 9886 lines in 259 files changed: 6397 ins; 2600 del; 889 mod Patch: https://git.openjdk.org/jdk/pull/32325.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32325/head:pull/32325 PR: https://git.openjdk.org/jdk/pull/32325
