8217854: [TESTBUG] runtime/CompressedOops/UseCompressedOops.java fails with Shenandoah
Reviewed-by: dcubed, zgu
--- a/test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java Mon Jan 28 08:58:42 2019 +0100
+++ b/test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java Mon Jan 28 10:24:23 2019 +0100
@@ -63,7 +63,7 @@
testCompressedOopsModes(args, "-XX:+UseParallelGC");
testCompressedOopsModes(args, "-XX:+UseParallelOldGC");
if (GC.Shenandoah.isSupported()) {
- testCompressedOopsModes(args, "-XX:+UseShenandoahGC");
+ testCompressedOopsModes(args, "-XX:+UnlockExperimentalVMOptions", "-XX:+UseShenandoahGC");
}
}