RFR: 8367013: Add Atomic<T> to package/replace idiom of volatile var plus AtomicAccess:: operations

Kim Barrett kbarrett at openjdk.org
Sat Oct 4 01:09:53 UTC 2025


On Fri, 3 Oct 2025 20:12:55 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> > The naming is intentional, to map onto the behavior.
> > release_store() is roughly like release(); store();
> 
> By `release()`, do you mean `OrderAccess::release()`?

Yes, which is why I said "roughly like". And on some platforms it might be "exactly like", because that's how it's
implemented for that platform.

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

PR Comment: https://git.openjdk.org/jdk/pull/27539#issuecomment-3367717639


More information about the hotspot-dev mailing list