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 *
73 */
74
75 /*
76 * @test id=adaptive
77 * @summary Acceptance tests: collector can deal with retained objects
78 * @key randomness
79 * @requires vm.gc.Shenandoah
80 * @library /test/lib
81 *
82 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
83 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
84 * -XX:+ShenandoahVerify
85 * TestSieveObjects
86 *
87 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
88 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
89 * TestSieveObjects
90 *
91 */
92
93 /*
94 * @test id=static
95 * @summary Acceptance tests: collector can deal with retained objects
96 * @key randomness
97 * @requires vm.gc.Shenandoah
98 * @library /test/lib
99 *
100 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
101 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
102 * TestSieveObjects
103 */
104
105 /*
106 * @test id=compact
107 * @summary Acceptance tests: collector can deal with retained objects
108 * @key randomness
109 * @requires vm.gc.Shenandoah
110 * @library /test/lib
111 *
112 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
|
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 *
74 */
75
76 /*
77 * @test id=adaptive
78 * @summary Acceptance tests: collector can deal with retained objects
79 * @key randomness
80 * @requires vm.gc.Shenandoah
81 * @library /test/lib
82 *
83 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
84 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
85 * -XX:+ShenandoahVerify
86 * TestSieveObjects
87 *
88 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
89 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
90 * TestSieveObjects
91 *
92 */
93
94 /*
95 * @test id=generational
96 * @summary Acceptance tests: collector can deal with retained objects
97 * @key randomness
98 * @requires vm.gc.Shenandoah
99 * @library /test/lib
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 * TestSieveObjects
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 * TestSieveObjects
110 *
111 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
112 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
113 * TestSieveObjects
114 */
115
116 /*
117 * @test id=static
118 * @summary Acceptance tests: collector can deal with retained objects
119 * @key randomness
120 * @requires vm.gc.Shenandoah
121 * @library /test/lib
122 *
123 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
124 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
125 * TestSieveObjects
126 */
127
128 /*
129 * @test id=compact
130 * @summary Acceptance tests: collector can deal with retained objects
131 * @key randomness
132 * @requires vm.gc.Shenandoah
133 * @library /test/lib
134 *
135 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
|