1 /*
2 * Copyright (c) 2017, 2020, 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 *
40 * TestVerifyJCStress
41 */
42
43 /*
44 * @test id=default-debug
45 * @summary Tests that we pass at least one jcstress-like test with all verification turned on
46 * @requires vm.gc.Shenandoah
47 * @requires vm.debug
48 * @modules java.base/jdk.internal.misc
49 * java.management
50 *
51 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
52 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
53 * -XX:+ShenandoahVerify -XX:+ShenandoahVerifyOptoBarriers
54 * TestVerifyJCStress
55 *
56 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
57 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
58 * -XX:+ShenandoahVerify -XX:+ShenandoahVerifyOptoBarriers
59 * TestVerifyJCStress
60 */
61
62 /*
63 * @test id=default
64 * @summary Tests that we pass at least one jcstress-like test with all verification turned on
65 * @requires vm.gc.Shenandoah
66 * @requires !vm.debug
67 * @modules java.base/jdk.internal.misc
68 * java.management
69 *
70 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
71 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
72 * -XX:+ShenandoahVerify
73 * TestVerifyJCStress
74 *
75 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
76 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
77 * -XX:+ShenandoahVerify
78 * TestVerifyJCStress
79 */
80
81 /*
82 * @test id=iu-debug
83 * @summary Tests that we pass at least one jcstress-like test with all verification turned on
84 * @requires vm.gc.Shenandoah
85 * @requires vm.debug
86 * @modules java.base/jdk.internal.misc
87 * java.management
88 *
89 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
90 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
91 * -XX:+ShenandoahVerify -XX:+ShenandoahVerifyOptoBarriers
92 * TestVerifyJCStress
93 */
94
95 /*
96 * @test id=iu
97 * @summary Tests that we pass at least one jcstress-like test with all verification turned on
98 * @requires vm.gc.Shenandoah
|
1 /*
2 * Copyright (c) 2017, 2020, 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 *
41 * TestVerifyJCStress
42 */
43
44 /*
45 * @test id=default-debug
46 * @summary Tests that we pass at least one jcstress-like test with all verification turned on
47 * @requires vm.gc.Shenandoah
48 * @requires vm.debug
49 * @modules java.base/jdk.internal.misc
50 * java.management
51 *
52 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
53 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
54 * -XX:+ShenandoahVerify -XX:+ShenandoahVerifyOptoBarriers
55 * TestVerifyJCStress
56 *
57 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
58 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
59 * -XX:+ShenandoahVerify -XX:+ShenandoahVerifyOptoBarriers
60 * TestVerifyJCStress
61 *
62 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
63 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
64 * -XX:+ShenandoahVerify -XX:+ShenandoahVerifyOptoBarriers
65 * TestVerifyJCStress
66 */
67
68 /*
69 * @test id=default
70 * @summary Tests that we pass at least one jcstress-like test with all verification turned on
71 * @requires vm.gc.Shenandoah
72 * @requires !vm.debug
73 * @modules java.base/jdk.internal.misc
74 * java.management
75 *
76 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
77 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
78 * -XX:+ShenandoahVerify
79 * TestVerifyJCStress
80 *
81 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
82 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
83 * -XX:+ShenandoahVerify
84 * TestVerifyJCStress
85 *
86 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
87 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
88 * -XX:+ShenandoahVerify
89 * TestVerifyJCStress
90 */
91
92 /*
93 * @test id=iu-debug
94 * @summary Tests that we pass at least one jcstress-like test with all verification turned on
95 * @requires vm.gc.Shenandoah
96 * @requires vm.debug
97 * @modules java.base/jdk.internal.misc
98 * java.management
99 *
100 * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
101 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
102 * -XX:+ShenandoahVerify -XX:+ShenandoahVerifyOptoBarriers
103 * TestVerifyJCStress
104 */
105
106 /*
107 * @test id=iu
108 * @summary Tests that we pass at least one jcstress-like test with all verification turned on
109 * @requires vm.gc.Shenandoah
|