RFR: 8367694: Fix jtreg test failure when Intel APX is enabled for KNL platforms [v2]

Srinivas Vamsi Parasa sparasa at openjdk.org
Mon Sep 15 20:10:25 UTC 2025


On Mon, 15 Sep 2025 18:26:37 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

>> Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   change the location of APX feature check
>
> src/hotspot/cpu/x86/vm_version_x86.cpp line 1020:
> 
>> 1018: 
>> 1019:   // Currently APX support is only enabled for targets supporting AVX512VL feature.
>> 1020:   bool apx_supported = !is_knights_family() && os_supports_apx_egprs() && supports_apx_f() && supports_avx512vl();
> 
> Instead of adding is_knights_family check here, it is better to move the lines 1020-1028 after 1070.

Moved the APX feature check from 1020-1028 to 1070. Please see the updated code.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27299#discussion_r2349985891


More information about the hotspot-dev mailing list