shenandoah-jdk-upstream Sdiff test/hotspot/jtreg/gc/arguments (original) (raw)


37 * @run main/othervm TestUseCompressedOopsErgo -XX:+UseParallelGC 38 * @run main/othervm TestUseCompressedOopsErgo -XX:+UseParallelGC -XX:-UseParallelOldGC 39 * @run main/othervm TestUseCompressedOopsErgo -XX:+UseSerialGC 40 / 41 42 / 43 * @test TestUseCompressedOopsErgoCMS 44 * @key gc 45 * @bug 8010722 46 * @comment Graal does not support CMS 47 * @requires vm.gc=="null" & !vm.graal.enabled 48 * @library /test/lib 49 * @modules java.base/jdk.internal.misc 50 * java.management/sun.management 51 * @build sun.hotspot.WhiteBox 52 * @run driver ClassFileInstaller sun.hotspot.WhiteBox 53 * sun.hotspot.WhiteBox$WhiteBoxPermission 54 * @run main/othervm TestUseCompressedOopsErgo -XX:+UseConcMarkSweepGC 55 */ 56

57 public class TestUseCompressedOopsErgo { 58 59 public static void main(String args[]) throws Exception { 60 if (!TestUseCompressedOopsErgoTools.is64bitVM()) { 61 // this test is relevant for 64 bit VMs only 62 return; 63 } 64 final String[] gcFlags = args; 65 TestUseCompressedOopsErgoTools.checkCompressedOopsErgo(gcFlags); 66 } 67 } 68


37 * @run main/othervm TestUseCompressedOopsErgo -XX:+UseParallelGC 38 * @run main/othervm TestUseCompressedOopsErgo -XX:+UseParallelGC -XX:-UseParallelOldGC 39 * @run main/othervm TestUseCompressedOopsErgo -XX:+UseSerialGC 40 / 41 42 / 43 * @test TestUseCompressedOopsErgoCMS 44 * @key gc 45 * @bug 8010722 46 * @comment Graal does not support CMS 47 * @requires vm.gc=="null" & !vm.graal.enabled 48 * @library /test/lib 49 * @modules java.base/jdk.internal.misc 50 * java.management/sun.management 51 * @build sun.hotspot.WhiteBox 52 * @run driver ClassFileInstaller sun.hotspot.WhiteBox 53 * sun.hotspot.WhiteBox$WhiteBoxPermission 54 * @run main/othervm TestUseCompressedOopsErgo -XX:+UseConcMarkSweepGC 55 / 56 57 / 58 * @test TestUseCompressedOopsErgoShenandoah 59 * @key gc 60 * @bug 8010722 61 * @comment Graal does not support Shenandoah 62 * @requires vm.gc=="null" & !vm.graal.enabled 63 * @library /test/lib 64 * @modules java.base/jdk.internal.misc 65 * java.management/sun.management 66 * @build sun.hotspot.WhiteBox 67 * @run driver ClassFileInstaller sun.hotspot.WhiteBox 68 * sun.hotspot.WhiteBox$WhiteBoxPermission 69 * @run main/othervm TestUseCompressedOopsErgo -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC 70 */ 71 72 public class TestUseCompressedOopsErgo { 73 74 public static void main(String args[]) throws Exception { 75 if (!TestUseCompressedOopsErgoTools.is64bitVM()) { 76 // this test is relevant for 64 bit VMs only 77 return; 78 } 79 final String[] gcFlags = args; 80 TestUseCompressedOopsErgoTools.checkCompressedOopsErgo(gcFlags); 81 } 82 } 83