On Wed, 10 Jun 2026 16:31:47 GMT, Vladimir Kozlov <[email protected]> wrote:

>> For testing purpose `IntelJccErratumMitigation` flag can be specified on 
>> command line to test corresponding code on any x86 CPUs. So we have to 
>> process it here.
>> 
>> When default `compute_has_intel_jcc_erratum()` returns `false` for not 
>> Intel's CPUs.
>
> @ashu-mehra  may be add comment to avoid confusion.

This code can be simplified. We can change the default value of 
`IntelJccErratumMitigation` to false, and only set it in `intel_config()` if it 
has not been set on command line. We won't need `_has_intel_jcc_erratum`; 
`has_intel_jcc_erratum()` can just return `IntelJccErratumMitigation`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31301#discussion_r3433270839

Reply via email to