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

Chen Liang liach at openjdk.org
Thu Jan 22 23:21:51 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.

This pull request has now been integrated.

Changeset: ccb0ca8b
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/ccb0ca8b91384656d4e548dafedb4a2eeb810c71
Stats:     81 lines in 2 files changed: 37 ins; 15 del; 29 mod

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

Reviewed-by: mcimadamore

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

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


More information about the valhalla-dev mailing list