Integrated: 8292458: Atomic operations on scoped enums don't build with clang
Kim Barrett
kbarrett at openjdk.org
Fri Aug 19 01:55:41 UTC 2022
On Tue, 16 Aug 2022 22:48:26 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change to allow the Atomic class to support scoped enum
> values on all platforms. We do this by adding PrimitiveConversions::Translate
> support for enums (converting to/from the underlying type), and changing
> relevant Atomic operations to use that translation instead of trying to handle
> enums on the integer code path.
>
> Testing:
> mach5 tier1-3, including gtests added by this change
This pull request has now been integrated.
Changeset: f85411f2
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f85411f24a0cf55f8718aadd2297d95feb95564b
Stats: 126 lines in 4 files changed: 113 ins; 0 del; 13 mod
8292458: Atomic operations on scoped enums don't build with clang
Reviewed-by: eosterlund, stefank
-------------
PR: https://git.openjdk.org/jdk/pull/9895
More information about the hotspot-runtime-dev
mailing list