src/hotspot/share/gc/shared/gcConfiguration.cpp
changeset 50525 767cdb97f103
parent 50113 caf115bb98ad
child 52925 9c18c9d839d3
--- a/src/hotspot/share/gc/shared/gcConfiguration.cpp	Tue Jun 12 07:52:30 2018 -0700
+++ b/src/hotspot/share/gc/shared/gcConfiguration.cpp	Tue Jun 12 17:40:28 2018 +0200
@@ -43,6 +43,10 @@
     return ParNew;
   }
 
+  if (UseZGC) {
+    return NA;
+  }
+
   return DefNew;
 }
 
@@ -59,6 +63,10 @@
     return ParallelOld;
   }
 
+  if (UseZGC) {
+    return Z;
+  }
+
   return SerialOld;
 }