RFR: 8372337: clang compilation error on hardware_constructive_interference_size

Kim Barrett kbarrett at openjdk.org
Tue Nov 25 08:57:28 UTC 2025


On Tue, 25 Nov 2025 08:17:21 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

>> 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.
>
> Looks good. Trivial.

Thanks for review @xmas92

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

PR Comment: https://git.openjdk.org/jdk/pull/28484#issuecomment-3574464927


More information about the hotspot-dev mailing list