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

Aleksey Shipilev shade at redhat.com
Wed Sep 14 15:51:53 UTC 2016


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