--- a/src/hotspot/share/gc/shared/gc_globals.hpp Mon Apr 23 12:32:25 2018 +0200
+++ b/src/hotspot/share/gc/shared/gc_globals.hpp Mon Apr 23 12:53:43 2018 +0200
@@ -129,7 +129,7 @@
product(bool, UseParallelOldGC, false, \
"Use the Parallel Old garbage collector") \
\
- develop(bool, UseEpsilonGC, false, \
+ experimental(bool, UseEpsilonGC, false, \
"Use the Epsilon (no-op) garbage collector") \
\
product(uint, ParallelGCThreads, 0, \
--- a/test/hotspot/jtreg/gc/epsilon/TestEpsilonEnabled.java Mon Apr 23 12:32:25 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestEpsilonEnabled.java Mon Apr 23 12:53:43 2018 +0200
@@ -35,8 +35,8 @@
if (Platform.isDebugBuild() && !isEpsilonEnabled()) {
throw new IllegalStateException("Debug builds should have Epsilon enabled");
}
- if (!Platform.isDebugBuild() && isEpsilonEnabled()) {
- throw new IllegalStateException("Non-debug builds should have Epsilon disabled");
+ if (!Platform.isDebugBuild() && !isEpsilonEnabled()) {
+ throw new IllegalStateException("Non-debug builds should have Epsilon enabled");
}
}
}