equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 import java.util.List; |
25 import java.util.List; |
26 import java.util.Map; |
26 import java.util.Map; |
27 |
27 |
28 import jdk.test.lib.apps.LingeredApp; |
28 import jdk.test.lib.apps.LingeredApp; |
29 import jdk.test.lib.Platform; |
29 import jdk.test.lib.Platform; |
|
30 import jtreg.SkippedException; |
30 |
31 |
31 /** |
32 /** |
32 * @test |
33 * @test |
33 * @bug 8190198 |
34 * @bug 8190198 |
34 * @summary Test clhsdb pstack command |
35 * @summary Test clhsdb pstack command |
56 "Signal Dispatcher", "CompilerThread", |
57 "Signal Dispatcher", "CompilerThread", |
57 "Sweeper thread", "Service Thread", |
58 "Sweeper thread", "Service Thread", |
58 "Reference Handler", "Finalizer", "main")); |
59 "Reference Handler", "Finalizer", "main")); |
59 |
60 |
60 test.run(theApp.getPid(), cmds, expStrMap, null); |
61 test.run(theApp.getPid(), cmds, expStrMap, null); |
|
62 } catch (SkippedException se) { |
|
63 throw se; |
61 } catch (Exception ex) { |
64 } catch (Exception ex) { |
62 throw new RuntimeException("Test ERROR " + ex, ex); |
65 throw new RuntimeException("Test ERROR " + ex, ex); |
63 } finally { |
66 } finally { |
64 LingeredApp.stopApp(theApp); |
67 LingeredApp.stopApp(theApp); |
65 } |
68 } |