equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2018, 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. |
28 * @requires vm.hasJFR & vm.cds |
28 * @requires vm.hasJFR & vm.cds |
29 * @library /test/lib /test/hotspot/jtreg/runtime/appcds /test/hotspot/jtreg/runtime/appcds/test-classes test-classes |
29 * @library /test/lib /test/hotspot/jtreg/runtime/appcds /test/hotspot/jtreg/runtime/appcds/test-classes test-classes |
30 * @modules jdk.jfr |
30 * @modules jdk.jfr |
31 * @build Hello GetFlightRecorder |
31 * @build Hello GetFlightRecorder |
32 * @run driver ClassFileInstaller -jar CDSandJFR.jar Hello GetFlightRecorder GetFlightRecorder$TestEvent GetFlightRecorder$SimpleEvent |
32 * @run driver ClassFileInstaller -jar CDSandJFR.jar Hello GetFlightRecorder GetFlightRecorder$TestEvent GetFlightRecorder$SimpleEvent |
33 * @run driver/timeout=500 CDSandJFR |
33 * @run main/othervm/timeout=500 CDSandJFR |
34 */ |
34 */ |
35 |
35 |
36 import jdk.test.lib.BuildHelper; |
36 import jdk.test.lib.BuildHelper; |
37 import jdk.test.lib.process.OutputAnalyzer; |
37 import jdk.test.lib.process.OutputAnalyzer; |
38 |
38 |