RFR: 8291714: Implement a Multi-Reader Single-Writer mutex for Hotspot

David Holmes dholmes at openjdk.org
Fri Aug 12 05:29:31 UTC 2022


On Thu, 11 Aug 2022 19:28:17 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> 64 bit cmpxchg isn't available for some 32 bit CPUs. Maybe it could be int32_t?

Right. AFAICS only ARMv6 would be affected by this - does anyone still build for that? (grep for SUPPORTS_NATIVE_CX8). But a 32-bit count should be more than adequate.

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

PR: https://git.openjdk.org/jdk/pull/9838


More information about the hotspot-dev mailing list