RFR: 8367013: Add Atomic<T> to package/replace idiom of volatile var plus AtomicAccess:: operations [v3]
Thomas Schatzl
tschatzl at openjdk.org
Thu Oct 16 06:26:03 UTC 2025
On Thu, 16 Oct 2025 00:15:36 GMT, John R Rose <jrose at openjdk.org> wrote:
> I like Kim's suggestion of "unordered", meaning "no fences on this one". ("Unfenced" also occurred to me FWIW.)
> The bare names "load" and "store" are (by consensus) not explicit enough, and so we can't just drop the "fence modifier" from the function name. Rather, we need a term which says in effect, "you were maybe expecting RELEASE-STORE, but there's no RELEASE, so it's just a a STORE; and that's why we call it UNORDERED-STORE". (Or opaque or relaxed or unfenced or regular or whatever.)
+1 for `unordered`. Seems to be most clear and self-explaining to me.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27539#issuecomment-3409352343
More information about the hotspot-dev
mailing list