< prev index next >

test/hotspot/jtreg/gc/arguments/TestUseCompressedOopsErgo.java

Print this page
rev 59879 : [mq]: 8249000


  51  * @run driver gc.arguments.TestUseCompressedOopsErgo -XX:+UseParallelGC
  52  */
  53 
  54 /*
  55  * @test TestUseCompressedOopsErgoG1
  56  * @bug 8010722
  57  * @summary Tests ergonomics for UseCompressedOops.
  58  * @requires vm.gc.G1
  59  * @library /test/lib
  60  * @library /
  61  * @modules java.base/jdk.internal.misc
  62  *          java.management/sun.management
  63  * @build sun.hotspot.WhiteBox
  64  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  65  * @run driver gc.arguments.TestUseCompressedOopsErgo -XX:+UseG1GC
  66  */
  67 
  68 /*
  69  * @test TestUseCompressedOopsErgoShenandoah
  70  * @bug 8010722
  71  * @comment Graal does not support Shenandoah
  72  * @requires vm.gc.Shenandoah & !vm.graal.enabled
  73  * @library /test/lib
  74  * @library /
  75  * @modules java.base/jdk.internal.misc
  76  *          java.management/sun.management
  77  * @build sun.hotspot.WhiteBox
  78  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  79  * @run driver gc.arguments.TestUseCompressedOopsErgo -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC
  80  */
  81 
  82 public class TestUseCompressedOopsErgo {
  83 
  84   public static void main(String args[]) throws Exception {
  85     if (!TestUseCompressedOopsErgoTools.is64bitVM()) {
  86       // this test is relevant for 64 bit VMs only
  87       return;
  88     }
  89     final String[] gcFlags = args;
  90     TestUseCompressedOopsErgoTools.checkCompressedOopsErgo(gcFlags);
  91   }
  92 }


  51  * @run driver gc.arguments.TestUseCompressedOopsErgo -XX:+UseParallelGC
  52  */
  53 
  54 /*
  55  * @test TestUseCompressedOopsErgoG1
  56  * @bug 8010722
  57  * @summary Tests ergonomics for UseCompressedOops.
  58  * @requires vm.gc.G1
  59  * @library /test/lib
  60  * @library /
  61  * @modules java.base/jdk.internal.misc
  62  *          java.management/sun.management
  63  * @build sun.hotspot.WhiteBox
  64  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  65  * @run driver gc.arguments.TestUseCompressedOopsErgo -XX:+UseG1GC
  66  */
  67 
  68 /*
  69  * @test TestUseCompressedOopsErgoShenandoah
  70  * @bug 8010722
  71  * @requires vm.gc.Shenandoah

  72  * @library /test/lib
  73  * @library /
  74  * @modules java.base/jdk.internal.misc
  75  *          java.management/sun.management
  76  * @build sun.hotspot.WhiteBox
  77  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  78  * @run driver gc.arguments.TestUseCompressedOopsErgo -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC
  79  */
  80 
  81 public class TestUseCompressedOopsErgo {
  82 
  83   public static void main(String args[]) throws Exception {
  84     if (!TestUseCompressedOopsErgoTools.is64bitVM()) {
  85       // this test is relevant for 64 bit VMs only
  86       return;
  87     }
  88     final String[] gcFlags = args;
  89     TestUseCompressedOopsErgoTools.checkCompressedOopsErgo(gcFlags);
  90   }
  91 }
< prev index next >