< prev index next >

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

Print this page
rev 59879 : [mq]: 8249000


   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  *
  23  */
  24 
  25 /*
  26  * @test TestAllocObjectArrays
  27  * @summary Acceptance tests: collector can withstand allocation
  28  * @key randomness
  29  * @requires vm.gc.Shenandoah & !vm.graal.enabled
  30  * @library /test/lib
  31  *
  32  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  33  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
  34  *      -XX:+ShenandoahDegeneratedGC -XX:+ShenandoahVerify
  35  *      TestAllocObjectArrays
  36  *
  37  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  38  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
  39  *      -XX:-ShenandoahDegeneratedGC -XX:+ShenandoahVerify
  40  *      TestAllocObjectArrays
  41  *
  42  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  43  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
  44  *      -XX:+ShenandoahDegeneratedGC
  45  *      TestAllocObjectArrays
  46  *
  47  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  48  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
  49  *      -XX:-ShenandoahDegeneratedGC
  50  *      TestAllocObjectArrays
  51  */
  52 
  53 /*
  54  * @test TestAllocObjectArrays
  55  * @summary Acceptance tests: collector can withstand allocation
  56  * @key randomness
  57  * @requires vm.gc.Shenandoah & !vm.graal.enabled
  58  * @library /test/lib
  59  *
  60  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  61  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
  62  *      -XX:+ShenandoahOOMDuringEvacALot -XX:+ShenandoahVerify
  63  *      TestAllocObjectArrays
  64  *
  65  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  66  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
  67  *      -XX:+ShenandoahAllocFailureALot -XX:+ShenandoahVerify
  68  *      TestAllocObjectArrays
  69  *
  70  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  71  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
  72  *      -XX:+ShenandoahOOMDuringEvacALot
  73  *      TestAllocObjectArrays
  74  *
  75  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  76  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
  77  *      -XX:+ShenandoahAllocFailureALot


  91  *      TestAllocObjectArrays
  92  *
  93  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  94  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
  95  *      TestAllocObjectArrays
  96  *
  97  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  98  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
  99  *      TestAllocObjectArrays
 100  *
 101  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 102  *      -XX:+UseShenandoahGC
 103  *      -XX:-UseTLAB -XX:+ShenandoahVerify
 104  *      TestAllocObjectArrays
 105  */
 106 
 107 /*
 108  * @test TestAllocObjectArrays
 109  * @summary Acceptance tests: collector can withstand allocation
 110  * @key randomness
 111  * @requires vm.gc.Shenandoah & !vm.graal.enabled
 112  * @library /test/lib
 113  *
 114  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 115  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
 116  *      -XX:+ShenandoahOOMDuringEvacALot -XX:+ShenandoahVerify
 117  *      TestAllocObjectArrays
 118  *
 119  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 120  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
 121  *      -XX:+ShenandoahAllocFailureALot -XX:+ShenandoahVerify
 122  *      TestAllocObjectArrays
 123  *
 124  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 125  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
 126  *      -XX:+ShenandoahOOMDuringEvacALot
 127  *      TestAllocObjectArrays
 128  *
 129  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 130  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
 131  *      -XX:+ShenandoahAllocFailureALot




   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  *
  23  */
  24 
  25 /*
  26  * @test TestAllocObjectArrays
  27  * @summary Acceptance tests: collector can withstand allocation
  28  * @key randomness
  29  * @requires vm.gc.Shenandoah
  30  * @library /test/lib
  31  *
  32  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  33  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
  34  *      -XX:+ShenandoahDegeneratedGC -XX:+ShenandoahVerify
  35  *      TestAllocObjectArrays
  36  *
  37  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  38  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
  39  *      -XX:-ShenandoahDegeneratedGC -XX:+ShenandoahVerify
  40  *      TestAllocObjectArrays
  41  *
  42  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  43  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
  44  *      -XX:+ShenandoahDegeneratedGC
  45  *      TestAllocObjectArrays
  46  *
  47  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  48  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
  49  *      -XX:-ShenandoahDegeneratedGC
  50  *      TestAllocObjectArrays
  51  */
  52 
  53 /*
  54  * @test TestAllocObjectArrays
  55  * @summary Acceptance tests: collector can withstand allocation
  56  * @key randomness
  57  * @requires vm.gc.Shenandoah
  58  * @library /test/lib
  59  *
  60  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  61  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
  62  *      -XX:+ShenandoahOOMDuringEvacALot -XX:+ShenandoahVerify
  63  *      TestAllocObjectArrays
  64  *
  65  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  66  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
  67  *      -XX:+ShenandoahAllocFailureALot -XX:+ShenandoahVerify
  68  *      TestAllocObjectArrays
  69  *
  70  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  71  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
  72  *      -XX:+ShenandoahOOMDuringEvacALot
  73  *      TestAllocObjectArrays
  74  *
  75  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  76  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
  77  *      -XX:+ShenandoahAllocFailureALot


  91  *      TestAllocObjectArrays
  92  *
  93  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  94  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
  95  *      TestAllocObjectArrays
  96  *
  97  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
  98  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
  99  *      TestAllocObjectArrays
 100  *
 101  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 102  *      -XX:+UseShenandoahGC
 103  *      -XX:-UseTLAB -XX:+ShenandoahVerify
 104  *      TestAllocObjectArrays
 105  */
 106 
 107 /*
 108  * @test TestAllocObjectArrays
 109  * @summary Acceptance tests: collector can withstand allocation
 110  * @key randomness
 111  * @requires vm.gc.Shenandoah
 112  * @library /test/lib
 113  *
 114  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 115  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
 116  *      -XX:+ShenandoahOOMDuringEvacALot -XX:+ShenandoahVerify
 117  *      TestAllocObjectArrays
 118  *
 119  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 120  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
 121  *      -XX:+ShenandoahAllocFailureALot -XX:+ShenandoahVerify
 122  *      TestAllocObjectArrays
 123  *
 124  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 125  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
 126  *      -XX:+ShenandoahOOMDuringEvacALot
 127  *      TestAllocObjectArrays
 128  *
 129  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
 130  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
 131  *      -XX:+ShenandoahAllocFailureALot


< prev index next >