make/hotspot/lib/JvmFeatures.gmk
changeset 50523 7b7c75d87f9b
parent 50188 531b4069637e
child 50525 767cdb97f103
--- a/make/hotspot/lib/JvmFeatures.gmk	Tue Jun 12 18:30:52 2018 +0530
+++ b/make/hotspot/lib/JvmFeatures.gmk	Tue Jun 12 15:03:00 2018 +0200
@@ -155,6 +155,11 @@
   JVM_EXCLUDE_FILES += psMarkSweep.cpp psMarkSweepDecorator.cpp
 endif
 
+ifneq ($(call check-jvm-feature, epsilongc), true)
+  JVM_CFLAGS_FEATURES += -DINCLUDE_EPSILONGC=0
+  JVM_EXCLUDE_PATTERNS += gc/epsilon
+endif
+
 ifneq ($(call check-jvm-feature, jfr), true)
   JVM_CFLAGS_FEATURES += -DINCLUDE_JFR=0
   JVM_EXCLUDE_PATTERNS += jfr