RFR: 8364296: Set IntelJccErratumMitigation flag ergonomically

duke duke at openjdk.org
Fri Aug 1 09:53:55 UTC 2025


On Wed, 30 Jul 2025 16:27:42 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:

> We should update the flag if we are using a computed value. Nobody else reads IntelJccErratumMitigation specifically, but we want it to be correctly shown in PrintFlagsFinal and anywhere else these flags are inspected.
> 
> 
> Intel(R) Xeon(R) Platinum 8259CL
> java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version | grep IntelJcc
> Before:
>      bool IntelJccErratumMitigation  = true   {ARCH diagnostic} {default}
> After:
>      bool IntelJccErratumMitigation  = true   {ARCH diagnostic} {ergonomic}
> 
> 
> Even worse when it's actually false, but shows as true:
> 
> 
> AMD EPYC 7R13
> java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version | grep IntelJcc
> Before:
>      bool IntelJccErratumMitigation  = true   {ARCH diagnostic} {default}
> After:
>      bool IntelJccErratumMitigation  = false  {ARCH diagnostic} {ergonomic}

@olivergillespie 
Your change (at version 7f4f5debaa24ce4784372d96d37400de65489481) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/26560#issuecomment-3143948732


More information about the hotspot-dev mailing list