--- a/test/hotspot/jtreg/gc/arguments/TestUseCompressedOopsErgo.java Mon Dec 10 17:34:49 2018 +0300
+++ b/test/hotspot/jtreg/gc/arguments/TestUseCompressedOopsErgo.java Mon Dec 10 15:47:44 2018 +0100
@@ -54,6 +54,21 @@
* @run main/othervm TestUseCompressedOopsErgo -XX:+UseConcMarkSweepGC
*/
+/*
+ * @test TestUseCompressedOopsErgoShenandoah
+ * @key gc
+ * @bug 8010722
+ * @comment Graal does not support Shenandoah
+ * @requires vm.gc.Shenandoah & !vm.graal.enabled
+ * @library /test/lib
+ * @modules java.base/jdk.internal.misc
+ * java.management/sun.management
+ * @build sun.hotspot.WhiteBox
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
+ * sun.hotspot.WhiteBox$WhiteBoxPermission
+ * @run main/othervm TestUseCompressedOopsErgo -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC
+ */
+
public class TestUseCompressedOopsErgo {
public static void main(String args[]) throws Exception {