[crac] RFR: Workaround JDK-8311164: CPU_HT is set randomly on hybrid CPUs like Alder Lake
Jan Kratochvil
jkratochvil at openjdk.org
Fri Jun 30 12:13:24 UTC 2023
On Fri, 30 Jun 2023 12:03:51 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
>> SSIA
>
> src/hotspot/cpu/x86/vm_version_x86.cpp line 2597:
>
>> 2595:
>> 2596: // Workaround JDK-8311164: CPU_HT is set randomly on hybrid CPUs like Alder Lake.
>> 2597: features_missing &= ~CPU_HT;
>
> Note: I just realized these missing features are different from the others, it's more "extra features" -- they are specified via the option, but not available on the current CPU.
I am not sure what you mean here. This part of the code checks that the `-XX:CPUFeatures=0x...,0x...` specifies only a subset of the current options, never superset. Or do you have a suspection there exist some other options besides `CPU_HT` which are not fatal to use even if the CPU does not support them?
-------------
PR Review Comment: https://git.openjdk.org/crac/pull/89#discussion_r1247792981
More information about the crac-dev
mailing list