Integrated: 8353572: x86: AMD platforms miss the check for CLWB feature flag

Aleksey Shipilev shade at openjdk.org
Tue Apr 15 06:06:52 UTC 2025


On Wed, 2 Apr 2025 17:49:30 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Noticed this when doing [JDK-8353558](https://bugs.openjdk.org/browse/JDK-8353558). We only check for CLWB feature flag for Intel platforms. But AMD APM (Rev. 3.36—March 2024) tells me there is a CLWB flag in CPUID Fn0000_0007_EBX_x0 leaf as well. It is in the same place as the flag for Intel.
> 
> Additional testing:
>  - [x] Ad-hoc tests on Ryzen 5950X

This pull request has now been integrated.

Changeset: 3090e218
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3090e2187c2cbbbc08f27305d152664a83736dfa
Stats:     29 lines in 1 file changed: 6 ins; 14 del; 9 mod

8353572: x86: AMD platforms miss the check for CLWB feature flag

Reviewed-by: vlivanov, kvn

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

PR: https://git.openjdk.org/jdk/pull/24385


More information about the hotspot-dev mailing list