RFR: 8305819: LogConfigurationTest intermittently fails on AArch64

Andrew Haley aph at openjdk.org
Thu May 4 09:26:33 UTC 2023


On Thu, 4 May 2023 07:13:21 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Or we just proceed with a suitably commented storeStore barrier and hope that this is the last RCU bug.

We can't do only that, because it's still buggy. For it to be correct portable code we need at least a `memory_order::consume` load on the reading side. Given that `consume` is C++20 and we're still on C++14, something like the kernel's `READ_ONCE` would probably do.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13421#discussion_r1184767358


More information about the hotspot-runtime-dev mailing list