< prev index next >

test/gc/stress/gcbasher/TestGCBasherWithCMS.java

Print this page
rev 12800 : 8177953: Rename TestGCBasher.run to TestGCBasher.main


  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 import java.io.IOException;
  26 
  27 /*
  28  * @test TestGCBasherWithCMS
  29  * @key gc
  30  * @key stress
  31  * @requires vm.gc.ConcMarkSweep
  32  * @requires vm.flavor == "server" & !vm.emulatedClient
  33  * @summary Stress the CMS GC by trying to make old objects more likely to be garbage than young objects.
  34  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseConcMarkSweepGC TestGCBasherWithCMS 120000
  35  */
  36 public class TestGCBasherWithCMS {
  37     public static void main(String[] args) throws IOException {
  38         TestGCBasher.run(args);
  39     }
  40 }


  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 import java.io.IOException;
  26 
  27 /*
  28  * @test TestGCBasherWithCMS
  29  * @key gc
  30  * @key stress
  31  * @requires vm.gc.ConcMarkSweep
  32  * @requires vm.flavor == "server" & !vm.emulatedClient
  33  * @summary Stress the CMS GC by trying to make old objects more likely to be garbage than young objects.
  34  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseConcMarkSweepGC TestGCBasherWithCMS 120000
  35  */
  36 public class TestGCBasherWithCMS {
  37     public static void main(String[] args) throws IOException {
  38         TestGCBasher.main(args);
  39     }
  40 }
< prev index next >