[lworld] RFR: 8368274: [lworld] Unsafe.compareAndExchangeFlatValue() wrongly assumes padding bytes are the same for identical value objects
Chen Liang
liach at openjdk.org
Sat Jan 17 00:34:53 UTC 2026
On Wed, 12 Nov 2025 22:02:07 GMT, Chen Liang <liach at openjdk.org> wrote:
> 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.
Should I keep TestCompareAndExchange any more? I don't know what's the best way to create a C2 test for this.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1734#issuecomment-3762352873
More information about the valhalla-dev
mailing list