< prev index next >

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

Print this page

  1 /*
  2  * Copyright (c) 2016, 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  *

 87 /*
 88  * @test id=adaptive
 89  * @summary Acceptance tests: collector can withstand allocation
 90  * @requires vm.gc.Shenandoah
 91  *
 92  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 93  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 94  *      -XX:+ShenandoahVerify
 95  *      TestAllocObjects
 96  *
 97  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 98  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 99  *      TestAllocObjects
100  *
101  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
102  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
103  *      -XX:+ShenandoahSuspendibleWorkers
104  *      TestAllocObjects
105  */
106 




















107 /*
108  * @test id=static
109  * @summary Acceptance tests: collector can withstand allocation
110  * @requires vm.gc.Shenandoah
111  *
112  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
113  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
114  *      TestAllocObjects
115  *
116  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
117  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
118  *      -XX:+ShenandoahSuspendibleWorkers
119  *      TestAllocObjects
120  */
121 
122 /*
123  * @test id=compact
124  * @summary Acceptance tests: collector can withstand allocation
125  * @requires vm.gc.Shenandoah
126  *

  1 /*
  2  * Copyright (c) 2016, 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  *

 88 /*
 89  * @test id=adaptive
 90  * @summary Acceptance tests: collector can withstand allocation
 91  * @requires vm.gc.Shenandoah
 92  *
 93  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 94  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 95  *      -XX:+ShenandoahVerify
 96  *      TestAllocObjects
 97  *
 98  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 99  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
100  *      TestAllocObjects
101  *
102  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
103  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
104  *      -XX:+ShenandoahSuspendibleWorkers
105  *      TestAllocObjects
106  */
107 
108 /*
109  * @test id=generational
110  * @summary Acceptance tests: collector can withstand allocation
111  * @requires vm.gc.Shenandoah
112  *
113  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
114  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
115  *      -XX:+ShenandoahVerify
116  *      TestAllocObjects
117  *
118  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
119  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
120  *      TestAllocObjects
121  *
122  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
123  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
124  *      -XX:+ShenandoahSuspendibleWorkers
125  *      TestAllocObjects
126  */
127 
128 /*
129  * @test id=static
130  * @summary Acceptance tests: collector can withstand allocation
131  * @requires vm.gc.Shenandoah
132  *
133  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
134  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
135  *      TestAllocObjects
136  *
137  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
138  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
139  *      -XX:+ShenandoahSuspendibleWorkers
140  *      TestAllocObjects
141  */
142 
143 /*
144  * @test id=compact
145  * @summary Acceptance tests: collector can withstand allocation
146  * @requires vm.gc.Shenandoah
147  *
< prev index next >