From 96880609c8e5a9898e4a0d5e5044b2e63b752e0d Mon Sep 17 00:00:00 2001 From: Yasumasa Suenaga Date: Sat, 10 Jan 2026 12:10:48 +0900 Subject: [PATCH] Use supports_hybrid() to check for EnableX86ECoreOpts --- src/hotspot/cpu/x86/vm_version_x86.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/hotspot/cpu/x86/vm_version_x86.cpp b/src/hotspot/cpu/x86/vm_version_x86.cpp index 824910500b9..0522d87dddb 100644 --- a/src/hotspot/cpu/x86/vm_version_x86.cpp +++ b/src/hotspot/cpu/x86/vm_version_x86.cpp @@ -921,12 +921,8 @@ void VM_Version::get_processor_features() { // Check if processor has Intel Ecore if (FLAG_IS_DEFAULT(EnableX86ECoreOpts) && is_intel() && is_intel_server_family() && - (_model == 0x97 /* 12 Gen Core (Alder Lake) (hybrid) */ || - _model == 0xAA /* Core Ultra 7 (Meteor Lake) (hybdid) */ || - _model == 0xAC /* Meteor Lake-U/H (hybrid) ? */ || - _model == 0xAF /* Xeon 6 E-cores (Sierra Forest) */ || - _model == 0xCC /* Lunar Lake (hybrid) ? */ || - _model == 0xDD /* Pahther Lake (hybrid) ?*/ )) { + (supports_hybrid() || + _model == 0xAF /* Xeon 6 E-cores (Sierra Forest) */ )) { FLAG_SET_DEFAULT(EnableX86ECoreOpts, true); }