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

Chen Liang liach at openjdk.org
Wed Jan 21 22:13:13 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 incrementally with one additional commit since the last revision:

  Comment update

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1734/files
  - new: https://git.openjdk.org/valhalla/pull/1734/files/c1659649..312b0427

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

  Stats: 22 lines in 1 file changed: 0 ins; 1 del; 21 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