hotspot/test/gc/stress/gcbasher/TestGCBasherWithCMS.java
changeset 43441 577efc45fed8
parent 42016 4ef693df9ff9
child 43455 96560cffef4d
equal deleted inserted replaced
43439:5e03c9ba74f3 43441:577efc45fed8
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    29  * @key gc
    29  * @key gc
    30  * @key stress
    30  * @key stress
    31  * @requires vm.gc.ConcMarkSweep
    31  * @requires vm.gc.ConcMarkSweep
    32  * @requires vm.flavor == "server"
    32  * @requires vm.flavor == "server"
    33  * @summary Stress the CMS GC by trying to make old objects more likely to be garbage than young objects.
    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 -Xmx128m -server -XX:+UseConcMarkSweepGC TestGCBasherWithCMS 120000
    34  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseConcMarkSweepGC TestGCBasherWithCMS 120000
    35  */
    35  */
    36 public class TestGCBasherWithCMS {
    36 public class TestGCBasherWithCMS {
    37     public static void main(String[] args) throws IOException {
    37     public static void main(String[] args) throws IOException {
    38         TestGCBasher.run(args);
    38         TestGCBasher.run(args);
    39     }
    39     }