Skip to content

Commit 6c58047

Browse files
olivergillespieshipilev
authored andcommitted
8364296: Set IntelJccErratumMitigation flag ergonomically
Reviewed-by: shade, jbhateja
1 parent 812bd8e commit 6c58047

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/cpu/x86/vm_version_x86.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,7 @@ void VM_Version::get_processor_features() {
10691069

10701070
if (FLAG_IS_DEFAULT(IntelJccErratumMitigation)) {
10711071
_has_intel_jcc_erratum = compute_has_intel_jcc_erratum();
1072+
FLAG_SET_ERGO(IntelJccErratumMitigation, _has_intel_jcc_erratum);
10721073
} else {
10731074
_has_intel_jcc_erratum = IntelJccErratumMitigation;
10741075
}

0 commit comments

Comments
 (0)