8211268: Disable unsupported GCs for Zero
authorshade
Fri, 28 Sep 2018 18:28:49 +0200
changeset 51954 d82660ddd75c
parent 51953 3aac38c47955
child 51955 d38cb687d631
8211268: Disable unsupported GCs for Zero Reviewed-by: sgehwolf, erikj
make/autoconf/hotspot.m4
--- a/make/autoconf/hotspot.m4	Fri Sep 28 18:28:49 2018 +0200
+++ b/make/autoconf/hotspot.m4	Fri Sep 28 18:28:49 2018 +0200
@@ -351,6 +351,11 @@
     AC_MSG_RESULT([no])
   fi
 
+  # Disable unsupported GCs for Zero
+  if HOTSPOT_CHECK_JVM_VARIANT(zero); then
+    DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES epsilongc g1gc zgc"
+  fi
+
   # Turn on additional features based on other parts of configure
   if test "x$INCLUDE_DTRACE" = "xtrue"; then
     JVM_FEATURES="$JVM_FEATURES dtrace"