test/hotspot/jtreg/gc/stress/gcbasher/TestGCBasherWithShenandoah.java
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 54777 206afa6372ae
child 58679 9c3209ff7550
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
    32  * @library /
    32  * @library /
    33  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    33  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    34  * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
    34  * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
    35  * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
    35  * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
    36  *
    36  *
    37  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=passive      -XX:+ShenandoahVerify -XX:+ShenandoahDegeneratedGC gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    37  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
    38  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=passive      -XX:+ShenandoahVerify -XX:-ShenandoahDegeneratedGC gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    38  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
       
    39  *      -XX:+ShenandoahVerify -XX:+ShenandoahDegeneratedGC
       
    40  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    39  *
    41  *
    40  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive                         -XX:+ShenandoahOOMDuringEvacALot gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    42  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
    41  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive                         -XX:+ShenandoahAllocFailureALot  gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    43  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
    42  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive                                                          gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    44  *      -XX:+ShenandoahVerify -XX:-ShenandoahDegeneratedGC
       
    45  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
    46  */
       
    47 
       
    48 /*
       
    49  * @test TestGCBasherWithShenandoah
       
    50  * @key gc
       
    51  * @key stress
       
    52  * @library /
       
    53  * @requires vm.gc.Shenandoah & !vm.graal.enabled
       
    54  * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
       
    55  * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
    43  *
    56  *
    44  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive     -XX:+ShenandoahVerify gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    57  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
    45  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=traversal    -XX:+ShenandoahVerify gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    58  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
       
    59  *      -XX:+ShenandoahOOMDuringEvacALot
       
    60  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    46  *
    61  *
    47  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive                           gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    62  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
    48  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=traversal                          gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    63  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
    49  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact                            gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    64  *      -XX:+ShenandoahAllocFailureALot
       
    65  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
    66  *
       
    67  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    68  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
       
    69  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
    70  */
       
    71 
       
    72 /*
       
    73  * @test TestGCBasherWithShenandoah
       
    74  * @key gc
       
    75  * @key stress
       
    76  * @library /
       
    77  * @requires vm.gc.Shenandoah & !vm.graal.enabled
       
    78  * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
       
    79  * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
       
    80  *
       
    81  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    82  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
       
    83  *      -XX:+ShenandoahVerify
       
    84  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
    85  *
       
    86  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    87  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
       
    88  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
    89  *
       
    90  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    91  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
       
    92  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
    93  */
       
    94 
       
    95 /*
       
    96  * @test TestGCBasherWithShenandoah
       
    97  * @key gc
       
    98  * @key stress
       
    99  * @library /
       
   100  * @requires vm.gc.Shenandoah & !vm.graal.enabled
       
   101  * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
       
   102  * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
       
   103  *
       
   104  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
   105  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal -XX:ShenandoahGCHeuristics=aggressive
       
   106  *      -XX:+ShenandoahOOMDuringEvacALot
       
   107  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
   108  *
       
   109  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
   110  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal -XX:ShenandoahGCHeuristics=aggressive
       
   111  *      -XX:+ShenandoahAllocFailureALot
       
   112  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
   113  *
       
   114  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
   115  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal -XX:ShenandoahGCHeuristics=aggressive
       
   116  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
   117  */
       
   118 
       
   119 /*
       
   120  * @test TestGCBasherWithShenandoah
       
   121  * @key gc
       
   122  * @key stress
       
   123  * @library /
       
   124  * @requires vm.gc.Shenandoah & !vm.graal.enabled
       
   125  * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
       
   126  * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
       
   127  *
       
   128  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
   129  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal
       
   130  *      -XX:+ShenandoahVerify
       
   131  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
       
   132  *
       
   133  * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
   134  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal
       
   135  *      gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
    50  */
   136  */
    51 public class TestGCBasherWithShenandoah {
   137 public class TestGCBasherWithShenandoah {
    52     public static void main(String[] args) throws IOException {
   138     public static void main(String[] args) throws IOException {
    53         TestGCBasher.main(args);
   139         TestGCBasher.main(args);
    54     }
   140     }