RFR: 8315131: Clarify VarHandle set/get access on 32-bit platforms
Chen Liang
liach at openjdk.org
Thu Jul 10 23:45:14 UTC 2025
On 32 bit platforms, when an access to long/double is aligned, it is supported but not atomic. The original wording in `MethodHandles::byteBufferViewVarHandle` sounds as if it is not supported at all. We can fix that by borrowing the improved specification from `MemoryLayout::varHandle`.
-------------
Commit messages:
- 8315131: Clarify VarHandle set/get access on 32-bit platforms
Changes: https://git.openjdk.org/jdk/pull/26258/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26258&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8315131
Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/26258.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26258/head:pull/26258
PR: https://git.openjdk.org/jdk/pull/26258
More information about the core-libs-dev
mailing list