< prev index next >

test/hotspot/jtreg/gc/shenandoah/TestRetainObjects.java

Print this page

  1 /*
  2  * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.

  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  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
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 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  *

 66  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 67  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
 68  *      TestRetainObjects
 69  */
 70 
 71 /*
 72  * @test id=adaptive
 73  * @summary Acceptance tests: collector can deal with retained objects
 74  * @requires vm.gc.Shenandoah
 75  *
 76  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 77  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 78  *      -XX:+ShenandoahVerify
 79  *      TestRetainObjects
 80  *
 81  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 82  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 83  *      TestRetainObjects
 84  */
 85 

























 86 /*
 87  * @test id=static
 88  * @summary Acceptance tests: collector can deal with retained objects
 89  * @requires vm.gc.Shenandoah
 90  *
 91  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 92  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
 93  *      TestRetainObjects
 94  */
 95 
 96 /*
 97  * @test id=compact
 98  * @summary Acceptance tests: collector can deal with retained objects
 99  * @requires vm.gc.Shenandoah
100  *
101  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
102  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
103  *      TestRetainObjects
104  */
105 
106 /*
107  * @test id=no-tlab
108  * @summary Acceptance tests: collector can deal with retained objects
109  * @requires vm.gc.Shenandoah
110  *
111  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
112  *      -XX:+UseShenandoahGC
113  *      -XX:-UseTLAB -XX:+ShenandoahVerify
114  *      TestRetainObjects
115  */
116 
117 /*
118  * @test id=iu-aggressive
119  * @summary Acceptance tests: collector can deal with retained objects
120  * @requires vm.gc.Shenandoah
121  *
122  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
123  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
124  *      -XX:+ShenandoahOOMDuringEvacALot
125  *      TestRetainObjects
126  *
127  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
128  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
129  *      -XX:+ShenandoahAllocFailureALot
130  *      TestRetainObjects
131  *

  1 /*
  2  * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
  3  * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
  4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  5  *
  6  * This code is free software; you can redistribute it and/or modify it
  7  * under the terms of the GNU General Public License version 2 only, as
  8  * published by the Free Software Foundation.
  9  *
 10  * This code is distributed in the hope that it will be useful, but WITHOUT
 11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 13  * version 2 for more details (a copy is included in the LICENSE file that
 14  * accompanied this code).
 15  *
 16  * You should have received a copy of the GNU General Public License version
 17  * 2 along with this work; if not, write to the Free Software Foundation,
 18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 19  *
 20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 21  * or visit www.oracle.com if you need additional information or have any
 22  * questions.
 23  *

 67  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 68  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
 69  *      TestRetainObjects
 70  */
 71 
 72 /*
 73  * @test id=adaptive
 74  * @summary Acceptance tests: collector can deal with retained objects
 75  * @requires vm.gc.Shenandoah
 76  *
 77  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 78  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 79  *      -XX:+ShenandoahVerify
 80  *      TestRetainObjects
 81  *
 82  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 83  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 84  *      TestRetainObjects
 85  */
 86 
 87 /*
 88  * @test id=generational
 89  * @summary Acceptance tests: collector can deal with retained objects
 90  * @requires vm.gc.Shenandoah
 91  *
 92  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 93  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
 94  *      -XX:+ShenandoahVerify
 95  *      TestRetainObjects
 96  *
 97  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 98  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
 99  *      TestRetainObjects
100  *
101  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
102  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
103  *      -XX:+ShenandoahOOMDuringEvacALot -XX:+ShenandoahVerify
104  *      TestRetainObjects
105  *
106  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
107  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
108  *      -XX:+ShenandoahAllocFailureALot -XX:+ShenandoahVerify
109  *      TestRetainObjects
110  */
111 
112 /*
113  * @test id=static
114  * @summary Acceptance tests: collector can deal with retained objects
115  * @requires vm.gc.Shenandoah
116  *
117  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
118  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
119  *      TestRetainObjects
120  */
121 
122 /*
123  * @test id=compact
124  * @summary Acceptance tests: collector can deal with retained objects
125  * @requires vm.gc.Shenandoah
126  *
127  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
128  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
129  *      TestRetainObjects
130  */
131 
132 /*
133  * @test id=no-tlab
134  * @summary Acceptance tests: collector can deal with retained objects
135  * @requires vm.gc.Shenandoah
136  *
137  * @run main/othervm/timeout=300 -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
138  *      -XX:+UseShenandoahGC
139  *      -XX:-UseTLAB -XX:+ShenandoahVerify
140  *      TestRetainObjects
141  */
142 
143 /*
144  * @test id=iu-aggressive
145  * @summary Acceptance tests: collector can deal with retained objects
146  * @requires vm.gc.Shenandoah
147  *
148  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
149  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
150  *      -XX:+ShenandoahOOMDuringEvacALot
151  *      TestRetainObjects
152  *
153  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
154  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
155  *      -XX:+ShenandoahAllocFailureALot
156  *      TestRetainObjects
157  *
< prev index next >