RFR: 8300148: Consider using a StoreStore barrier instead of Release barrier on ctor exit [v10]
Martin Doerr
mdoerr at openjdk.org
Thu Apr 18 21:41:58 UTC 2024
On Thu, 18 Apr 2024 16:57:24 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> @TheRealMDoerr, @GoeLin -- I think you'd want to ack that covering "IRIW" parts with just a `StoreStore` is okay here. I think it is, since we "just" want the same semantics for `volatile`-s as for `final`-s.
Correct, a StoreStore barrier is sufficient. Thanks for the notification!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18505#issuecomment-2065370507
More information about the hotspot-compiler-dev
mailing list