[11u] RFR (XS) 8265537: x86 version string truncated after JDK-8249672 11u backport

Mario Torre neugens at redhat.com
Thu Apr 22 09:21:03 UTC 2021


Hi Aleksey,

The change looks good to me.

Cheers,
Mario

On Thu, Apr 22, 2021 at 8:16 AM Aleksey Shipilev <shade at redhat.com> wrote:
>
> On 4/20/21 7:23 PM, Aleksey Shipilev wrote:
> > 11u-specific regression:
> >     https://bugs.openjdk.java.net/browse/JDK-8265537
> >
> > See the details in the bug.
> >
> > 11u patch:
> >
> > diff -r 9846af5a0949 src/hotspot/cpu/x86/vm_version_x86.cpp
> > --- a/src/hotspot/cpu/x86/vm_version_x86.cpp    Mon Apr 19 12:47:46 2021 +0200
> > +++ b/src/hotspot/cpu/x86/vm_version_x86.cpp    Tue Apr 20 19:23:24 2021 +0200
> > @@ -743,11 +743,11 @@
> >        if (is_knights_family()) {
> >          _features &= ~CPU_VZEROUPPER;
> >        }
> >      }
> >
> > -  char buf[256];
> > +  char buf[512];
> >      jio_snprintf(buf, sizeof(buf),
> >                   "(%u cores per cpu, %u threads per core) family %d model %d stepping %d microcode 0x%x"
> >                   "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
> >                   cores_per_cpu(), threads_per_core(),
> >                   cpu_family(), _model, _stepping, os::cpu_microcode_revision(),
> >
> > Testing: compiler/intrinsics/sha tests (now pass); tier1
>
> Anyone?
>
> --
> Thanks,
> -Aleksey
>


-- 
Mario Torre
Manager, Software Engineering
Red Hat GmbH <https://www.redhat.com>
9704 A60C B4BE A8B8 0F30  9205 5D7E 4952 3F65 7898



More information about the jdk-updates-dev mailing list