RFR: 8307926: Support byte-sized atomic bitset operations
Axel Boldt-Christmas
aboldtch at openjdk.org
Fri May 12 10:45:42 UTC 2023
On Fri, 12 May 2023 09:57:44 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change to add support Atomic byte-sized bitset operations.
> The existing default implementation using cmpxchg already (by accident) works
> on such values, because cmpxchg supports byte-sized operations. Any future
> platform specializations of these operations will need to deal with this size
> too.
>
> The changes consist of updating the requirements documentation for the
> operations and adding gtests for the newly supported size.
>
> Testing:
> mach5 tier1-3
> GHA testing
lgtm.
Is there some reason this requirement cannot be statically asserted?
-------------
Marked as reviewed by aboldtch (Committer).
PR Review: https://git.openjdk.org/jdk/pull/13952#pullrequestreview-1424240558
More information about the hotspot-runtime-dev
mailing list