Integrated: 8364296: Set IntelJccErratumMitigation flag ergonomically

Oli Gillespie ogillespie at openjdk.org
Fri Aug 1 10:30:00 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}

This pull request has now been integrated.

Changeset: 6c580472
Author:    Oli Gillespie <ogillespie at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6c5804722b5b2064e0d6ade2180c3126d8f2dabc
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8364296: Set IntelJccErratumMitigation flag ergonomically

Reviewed-by: shade, jbhateja

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

PR: https://git.openjdk.org/jdk/pull/26560


More information about the hotspot-dev mailing list