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

Tobias Hartmann thartmann at openjdk.org
Thu Jan 15 14:07: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.

@liach Please un-problem list `VarHandleTestMethodHandleAccessValue.java` now that [JDK-8367346](https://bugs.openjdk.org/browse/JDK-8367346) was closed as duplicate. Thanks.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1734#issuecomment-3755057474


More information about the valhalla-dev mailing list