RFR: 8307926: Support byte-sized atomic bitset operations
Kim Barrett
kbarrett at openjdk.org
Fri May 12 21:14:44 UTC 2023
On Fri, 12 May 2023 10:43:15 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
> Is there some reason this requirement cannot be statically asserted?
We don't static_assert the size of T here for the same reason we don't do so elsewhere in this class. Documenting the supported sizes is a requirement that the platform implementation support those sizes. A static_assert in the public API doesn't do anything to verify the platform implementation meets that requirement.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13952#issuecomment-1546307253
More information about the hotspot-runtime-dev
mailing list