author | shade |
Tue, 08 Oct 2019 15:08:59 +0200 | |
changeset 58497 | b0a731a6642b |
parent 54300 | 1b85f55c9aa2 |
child 59053 | ba6c248cae19 |
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; |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
32 |
import sun.hotspot.gc.GC; |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
33 |
|
50791
b1e90a8a876c
8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents:
50589
diff
changeset
|
34 |
/** |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
35 |
* @test |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
36 |
* @summary Test the 'universe' command of jhsdb clhsdb. |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
37 |
* @requires vm.hasSAandCanAttach |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
38 |
* @bug 8190307 |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
39 |
* @library /test/lib |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
40 |
* @build jdk.test.lib.apps.* |
50455
2b73cce96dce
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
kvn
parents:
49463
diff
changeset
|
41 |
* @build sun.hotspot.WhiteBox |
2b73cce96dce
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
kvn
parents:
49463
diff
changeset
|
42 |
* @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
43 |
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. TestUniverse |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
44 |
*/ |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
45 |
|
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
46 |
public class TestUniverse { |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
47 |
|
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
48 |
private static void testClhsdbForUniverse(long lingeredAppPid, GC gc) throws Exception { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
49 |
ClhsdbLauncher launcher = new ClhsdbLauncher(); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
50 |
List<String> cmds = List.of("universe"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
51 |
Map<String, List<String>> expStrMap = new HashMap<>(); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
52 |
List<String> expStrings = new ArrayList<String>(); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
53 |
expStrings.add("Heap Parameters"); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
54 |
|
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
55 |
switch (gc) { |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
56 |
case Serial: |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
57 |
expStrings.add("Gen 1: old"); |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
58 |
break; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
59 |
|
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
60 |
case Parallel: |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
61 |
expStrings.add("ParallelScavengeHeap"); |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
62 |
expStrings.add("PSYoungGen"); |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
63 |
expStrings.add("eden"); |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
64 |
break; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
65 |
|
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
66 |
case ConcMarkSweep: |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
67 |
expStrings.add("Gen 1: concurrent mark-sweep generation"); |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
68 |
break; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
69 |
|
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
70 |
case G1: |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
71 |
expStrings.add("garbage-first heap"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
72 |
expStrings.add("region size"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
73 |
expStrings.add("G1 Young Generation:"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
74 |
expStrings.add("regions ="); |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
75 |
break; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
76 |
|
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
77 |
case Epsilon: |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
78 |
expStrings.add("Epsilon heap"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
79 |
expStrings.add("reserved"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
80 |
expStrings.add("committed"); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
81 |
expStrings.add("used"); |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
82 |
break; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
83 |
|
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
84 |
case Z: |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
85 |
expStrings.add("ZHeap"); |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
86 |
break; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
87 |
|
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
88 |
case Shenandoah: |
58497
b0a731a6642b
8231931: [TESTBUG] serviceability/sa/TestUniverse.java looks for wrong string with Shenandoah
shade
parents:
54300
diff
changeset
|
89 |
expStrings.add("Shenandoah heap"); |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
90 |
break; |
50523
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
50455
diff
changeset
|
91 |
} |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
92 |
|
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
93 |
expStrMap.put("universe", expStrings); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
94 |
launcher.run(lingeredAppPid, cmds, expStrMap, null); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
95 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
96 |
|
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
97 |
private static void test(GC gc) throws Exception { |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
98 |
LingeredApp app = null; |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
99 |
try { |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
100 |
app = LingeredApp.startApp(List.of("-XX:+UnlockExperimentalVMOptions", "-XX:+Use" + gc + "GC")); |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
101 |
System.out.println ("Started LingeredApp with " + gc + "GC and pid " + app.getPid()); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
102 |
testClhsdbForUniverse(app.getPid(), gc); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
103 |
} finally { |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
104 |
LingeredApp.stopApp(app); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
105 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
106 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
107 |
|
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
108 |
private static boolean isSelectedAndSupported(GC gc) { |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
109 |
if (!gc.isSelected()) { |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
110 |
// Not selected |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
111 |
return false; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
112 |
} |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
113 |
|
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
114 |
if (Compiler.isGraalEnabled()) { |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
115 |
if (gc == GC.ConcMarkSweep || gc == GC.Epsilon || gc == GC.Z || gc == GC.Shenandoah) { |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
116 |
// Not supported |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
117 |
System.out.println ("Skipped testing of " + gc + "GC, not supported by Graal"); |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
118 |
return false; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
119 |
} |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
120 |
} |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
121 |
|
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
122 |
// Selected and supported |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
123 |
return true; |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
124 |
} |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
125 |
|
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
126 |
public static void main (String... args) throws Exception { |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
127 |
System.out.println("Starting TestUniverse"); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
128 |
try { |
54300
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
129 |
for (GC gc: GC.values()) { |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
130 |
if (isSelectedAndSupported(gc)) { |
1b85f55c9aa2
8221396: Clean up serviceability/sa/TestUniverse.java
pliden
parents:
53635
diff
changeset
|
131 |
test(gc); |
50525
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
132 |
} |
50455
2b73cce96dce
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
kvn
parents:
49463
diff
changeset
|
133 |
} |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
134 |
} catch (SkippedException se) { |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
135 |
throw se; |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
136 |
} catch (Exception e) { |
53635
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
137 |
System.out.println(e.getMessage()); |
247e5ca412f5
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents:
50791
diff
changeset
|
138 |
e.printStackTrace(); |
47900
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
139 |
throw new Error("Test failed with " + e); |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
140 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
141 |
} |
75d365bfc2e6
8190307: SA tests for the clhsdb commands: universe, intconstant, type
jgeorge
parents:
diff
changeset
|
142 |
} |