On Thu, 17 Jul 2025 18:18:21 GMT, Maurizio Cimadamore <[email protected]>
wrote:
>> Chen Liang has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> avoid "non-atomic"
>
> src/java.base/share/classes/java/lang/foreign/MemoryLayout.java line 281:
>
>> 279: * <li>read write access modes for all {@code T}. Access modes {@code
>> get} and
>> 280: * {@code set} for {@code long}, {@code double} and {@code
>> MemorySegment}
>> 281: * are supported but have no atomicity guarantee; in particular, the
>
> I think just a quick reference to the spec is fine, something like "are
> supported but provide no atomicity guarantees, as described in Section 17.7
> of The Java Language Specification"
Sure, I will simplify this.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26258#discussion_r2214007372