changeset 51954:d82660ddd75c

8211268: Disable unsupported GCs for Zero Reviewed-by: sgehwolf, erikj
author shade
date Fri, 28 Sep 2018 18:28:49 +0200
parents 3aac38c47955
children d38cb687d631
files make/autoconf/hotspot.m4
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"