RFR (XS): hs_err prints "ERROR in GC mode" instead of "Shenandoah"

Roman Kennke rkennke at redhat.com
Mon Sep 19 08:13:39 UTC 2016


Patch is fine, and yes, trivial stuff may be committed without review at your judgement ;-)

Cheers, Roman

Am 19.09.2016 9:04 vorm. schrieb Aleksey Shipilev <shade at redhat.com>:
>
> Ping? 
>
> I should probably push these trivialities without review? 
>
> -Aleksey 
>
> On 09/14/2016 05:51 PM, Aleksey Shipilev wrote: 
> > Hi there, 
> > 
> > hs_err prints this for Shenandoah crashes: 
> > 
> > # Java VM: OpenJDK 64-Bit Server VM 
> > (9-internal+0-2016-09-14-171552.shade.shenandoah-jdk9, mixed mode, 
> > tiered, ERROR in GC mode, linux-amd64) 
> > 
> > Trivial fix: 
> > 
> > diff -r 4f031b39d689 src/share/vm/utilities/vmError.cpp 
> > --- a/src/share/vm/utilities/vmError.cpp Wed Sep 14 10:22:37 2016 +0200 
> > +++ b/src/share/vm/utilities/vmError.cpp Wed Sep 14 18:50:37 2016 +0300 
> > @@ -246,6 +246,7 @@ 
> >    if (UseParallelGC)      return "parallel gc"; 
> >    if (UseConcMarkSweepGC) return "concurrent mark sweep gc"; 
> >    if (UseSerialGC)        return "serial gc"; 
> > +  if (UseShenandoahGC)    return "Shenandoah gc"; 
> >    return "ERROR in GC mode"; 
> >  } 
> > 
> > Okay to push? 
> > 
> > Thanks, 
> > -Aleksey 
> > 
>


More information about the shenandoah-dev mailing list