author | jgeorge |
Tue, 05 Feb 2019 00:43:38 +0530 | |
changeset 53635 | 247e5ca412f5 |
parent 50791 | b1e90a8a876c |
child 54300 | 1b85f55c9aa2 |
permissions | -rw-r--r-- |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
1 |
/* |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
2 |
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
4 |
* |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
8 |
* |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
13 |
* accompanied this code). |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
14 |
* |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
18 |
* |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
21 |
* questions. |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
22 |
*/ |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
23 |
|
50455
2b73cce96dce
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
kvn
parents:
49463
diff
changeset
|
24 |
import sun.hotspot.code.Compiler; |
2b73cce96dce
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
kvn
parents:
49463
diff
changeset
|
25 |
|
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
26 |
import java.util.ArrayList; |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
27 |
import java.util.List; |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
28 |
import java.util.Map; |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
29 |
import java.util.HashMap; |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
30 |
import jdk.test.lib.apps.LingeredApp; |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
31 |
import jtreg.SkippedException; |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
32 |
|
50791
b1e90a8a876c
8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents:
50589
diff
changeset
|
33 |
/** |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
34 |
* @test |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
35 |
* @summary Test the 'universe' command of jhsdb clhsdb. |
50791
b1e90a8a876c
8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents:
50589
diff
changeset
|
36 |
* @requires vm.hasSAandCanAttach & vm.gc != "Z" |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
37 |
* @bug 8190307 |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
38 |
* @library /test/lib |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
39 |
* @build jdk.test.lib.apps.* |
50455
2b73cce96dce
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
kvn
parents:
49463
diff
changeset
|
40 |
* @build sun.hotspot.WhiteBox |
2b73cce96dce
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
kvn
parents:
49463
diff
changeset
|
41 |
* @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission |
50525
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
42 |
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. TestUniverse withoutZ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
43 |
*/ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
44 |
|
50791
b1e90a8a876c
8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents:
50589
diff
changeset
|
45 |
/** |
50525
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
46 |
* @test |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
47 |
* @summary Test the 'universe' command of jhsdb clhsdb. |
50791
b1e90a8a876c
8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents:
50589
diff
changeset
|
48 |
* @requires vm.hasSAandCanAttach & vm.gc == "Z" |
50525
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
49 |
* @bug 8190307 |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
50 |
* @library /test/lib |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
51 |
* @build jdk.test.lib.apps.* |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
52 |
* @build sun.hotspot.WhiteBox |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
53 |
* @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
54 |
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. TestUniverse withZ |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
55 |
*/ |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
56 |
|
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
57 |
public class TestUniverse { |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
58 |
|
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
59 |
private static void testClhsdbForUniverse(long lingeredAppPid, |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
60 |
String gc) throws Exception { |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
61 |
|
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
62 |
ClhsdbLauncher launcher = new ClhsdbLauncher(); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
63 |
List<String> cmds = List.of("universe"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
64 |
Map<String, List<String>> expStrMap = new HashMap<>(); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
65 |
List<String> expStrings = new ArrayList<String>(); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
66 |
expStrings.add("Heap Parameters"); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
67 |
|
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
68 |
if (gc.contains("UseZGC")) { |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
69 |
expStrings.add("ZHeap"); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
70 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
71 |
if (gc.contains("G1GC")) { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
72 |
expStrings.add("garbage-first heap"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
73 |
expStrings.add("region size"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
74 |
expStrings.add("G1 Young Generation:"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
75 |
expStrings.add("regions ="); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
76 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
77 |
if (gc.contains("UseConcMarkSweepGC")) { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
78 |
expStrings.add("Gen 1: concurrent mark-sweep generation"); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
79 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
80 |
if (gc.contains("UseSerialGC")) { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
81 |
expStrings.add("Gen 1: old"); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
82 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
83 |
if (gc.contains("UseParallelGC")) { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
84 |
expStrings.add("ParallelScavengeHeap"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
85 |
expStrings.add("PSYoungGen"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
86 |
expStrings.add("eden"); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
87 |
} |
50523
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
50455
diff
changeset
|
88 |
if (gc.contains("UseEpsilonGC")) { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
89 |
expStrings.add("Epsilon heap"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
90 |
expStrings.add("reserved"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
91 |
expStrings.add("committed"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
92 |
expStrings.add("used"); |
50523
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
50455
diff
changeset
|
93 |
} |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
94 |
expStrMap.put("universe", expStrings); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
95 |
launcher.run(lingeredAppPid, cmds, expStrMap, null); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
96 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
97 |
|
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
98 |
public static void test(String gc) throws Exception { |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
99 |
LingeredApp app = null; |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
100 |
try { |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
101 |
List<String> vmArgs = new ArrayList<String>(); |
50523
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
50455
diff
changeset
|
102 |
vmArgs.add("-XX:+UnlockExperimentalVMOptions"); // unlock experimental GCs |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
103 |
vmArgs.add(gc); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
104 |
app = LingeredApp.startApp(vmArgs); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
105 |
System.out.println ("Started LingeredApp with the GC option " + gc + |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
106 |
" and pid " + app.getPid()); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
107 |
testClhsdbForUniverse(app.getPid(), gc); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
108 |
} finally { |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
109 |
LingeredApp.stopApp(app); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
110 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
111 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
112 |
|
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
113 |
public static void main (String... args) throws Exception { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
114 |
System.out.println("Starting TestUniverse test"); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
115 |
try { |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
116 |
test("-XX:+UseG1GC"); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
117 |
test("-XX:+UseParallelGC"); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
118 |
test("-XX:+UseSerialGC"); |
50525
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
119 |
if (!Compiler.isGraalEnabled()) { // Graal does not support all GCs |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
120 |
test("-XX:+UseConcMarkSweepGC"); |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
121 |
if (args[0].equals("withZ")) { |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
122 |
test("-XX:+UseZGC"); |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
123 |
} |
50589
e5d741569070
8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
kvn
parents:
50525
diff
changeset
|
124 |
test("-XX:+UseEpsilonGC"); |
50455
2b73cce96dce
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
kvn
parents:
49463
diff
changeset
|
125 |
} |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
126 |
} catch (SkippedException se) { |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
127 |
throw se; |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
128 |
} catch (Exception e) { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
129 |
System.out.println(e.getMessage()); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
130 |
e.printStackTrace(); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
131 |
throw new Error("Test failed with " + e); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
132 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
133 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
134 |
} |