[lworld] RFR: 8368274: [lworld] Unsafe.compareAndExchangeFlatValue() wrongly assumes padding bytes are the same for identical value objects [v2]

Chen Liang liach at openjdk.org
Sat Jan 17 00:36:52 UTC 2026


> Use the raw value get as witness, because the flat value get may ignore garbage value and cause infinite loop as a result. Waiting for a test case.

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 six additional commits since the last revision:

 - Fixes, VHTMHAV now passes
 - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/unsafe-flat-cas
 - A test
 - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/unsafe-flat-cas
 - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/unsafe-flat-cas
 - Attempt to fix garbage cas

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1734/files
  - new: https://git.openjdk.org/valhalla/pull/1734/files/88965da5..0b95903f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1734&range=01
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1734&range=00-01

  Stats: 156018 lines in 2665 files changed: 100722 ins; 38303 del; 16993 mod
  Patch: https://git.openjdk.org/valhalla/pull/1734.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1734/head:pull/1734

PR: https://git.openjdk.org/valhalla/pull/1734


More information about the valhalla-dev mailing list