RFR: 8372337: clang compilation error on hardware_constructive_interference_size
Kim Barrett
kbarrett at openjdk.org
Tue Nov 25 07:55:36 UTC 2025
Please review this trivial fix for a compiler error when building with clang
on Linux (and possibly in other configurations with clang). Rathern than
attempt to version-conditionalize the deprecating declaration of the hardware
interference variables, just never make the attempt at all, since we don't
know of a version of clang that will handle the declaration as expected.
Testing: Locally (linux-aarch64) built JDK with clang19.1 as the compiler.
-------------
Commit messages:
- don't try to deprecate hardare interference vars with any version of clang
Changes: https://git.openjdk.org/jdk/pull/28484/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28484&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8372337
Stats: 5 lines in 1 file changed: 0 ins; 1 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/28484.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28484/head:pull/28484
PR: https://git.openjdk.org/jdk/pull/28484
More information about the hotspot-dev
mailing list