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 *
23 */
24
25 /**
26 * @test
27 * @summary This is a test case for creating an AOT cache using the setup_aot/TestSetupAOT.java program, which
28 * is used for running HotSpot tests in the "AOT mode"
29 * (E.g., make test JTREG=AOT_JDK=true TEST=open/test/hotspot/jtreg/runtime/invokedynamic)
30 * @requires vm.cds
31 * @library /test/lib /test/setup_aot
32 * @build TestSetupAOTTest JavacBenchApp TestSetupAOT
33 * @run driver jdk.test.lib.helpers.ClassFileInstaller
34 * TestSetupAOT
35 * @run driver jdk.test.lib.helpers.ClassFileInstaller -jar app.jar
36 * TestSetupAOT
37 * TestSetupAOT$ToolOutput
38 * JavacBenchApp
39 * JavacBenchApp$ClassFile
40 * JavacBenchApp$FileManager
41 * JavacBenchApp$SourceFile
42 * @run driver TestSetupAOTTest
43 */
44
45 import jdk.test.lib.cds.SimpleCDSAppTester;
46 import jdk.test.lib.process.OutputAnalyzer;
47
48 public class TestSetupAOTTest {
49 public static void main(String... args) throws Exception {
50 SimpleCDSAppTester.of("TestSetupAOT")
|
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 *
23 */
24
25 /**
26 * @test
27 * @summary This is a test case for creating an AOT cache using the setup_aot/TestSetupAOT.java program, which
28 * is used for running HotSpot tests in the "AOT mode"
29 * (E.g., make test JTREG=AOT_JDK=true TEST=open/test/hotspot/jtreg/runtime/invokedynamic)
30 * @requires vm.cds.supports.aot.class.linking
31 * @library /test/lib /test/setup_aot
32 * @build TestSetupAOTTest JavacBenchApp TestSetupAOT
33 * @run driver jdk.test.lib.helpers.ClassFileInstaller
34 * TestSetupAOT
35 * @run driver jdk.test.lib.helpers.ClassFileInstaller -jar app.jar
36 * TestSetupAOT
37 * TestSetupAOT$ToolOutput
38 * JavacBenchApp
39 * JavacBenchApp$ClassFile
40 * JavacBenchApp$FileManager
41 * JavacBenchApp$SourceFile
42 * @run driver TestSetupAOTTest
43 */
44
45 import jdk.test.lib.cds.SimpleCDSAppTester;
46 import jdk.test.lib.process.OutputAnalyzer;
47
48 public class TestSetupAOTTest {
49 public static void main(String... args) throws Exception {
50 SimpleCDSAppTester.of("TestSetupAOT")
|