Skip to content

Commit dc81630

Browse files
author
Srinivas Vamsi Parasa
committed
8381865: Fix debug build failure caused by not clearing CPU_APX_F feature after JDK-8364584
Reviewed-by: sviswanathan, kvn, asmehra
1 parent d3afc85 commit dc81630

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hotspot/cpu/x86/vm_version_x86.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,7 @@ void VM_Version::get_processor_features() {
10981098
if (supports_apx_f() && os_supports_apx_egprs() && supports_avx512vl()) {
10991099
if (FLAG_IS_DEFAULT(UseAPX)) {
11001100
UseAPX = false; // by default UseAPX is false
1101+
_features.clear_feature(CPU_APX_F);
11011102
} else if (!UseAPX) {
11021103
_features.clear_feature(CPU_APX_F);
11031104
}

0 commit comments

Comments
 (0)