make/autoconf/hotspot.m4
changeset 51954 d82660ddd75c
parent 51586 eaa569eeb856
child 52039 15a9f90aa00f
--- 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"