Mercurial > hg > graal-compiler
comparison test/compiler/whitebox/SetForceInlineMethodTest.java @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | f9a4b59ae350 |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
25 * @test SetForceInlineMethodTest | 25 * @test SetForceInlineMethodTest |
26 * @bug 8006683 8007288 8022832 | 26 * @bug 8006683 8007288 8022832 |
27 * @library /testlibrary /testlibrary/whitebox | 27 * @library /testlibrary /testlibrary/whitebox |
28 * @build SetForceInlineMethodTest | 28 * @build SetForceInlineMethodTest |
29 * @run main ClassFileInstaller sun.hotspot.WhiteBox | 29 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
30 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* SetForceInlineMethodTest | 30 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,TestCase$Helper::* SetForceInlineMethodTest |
31 * @summary testing of WB::testSetForceInlineMethod() | 31 * @summary testing of WB::testSetForceInlineMethod() |
32 * @author igor.ignatyev@oracle.com | 32 * @author igor.ignatyev@oracle.com |
33 */ | 33 */ |
34 public class SetForceInlineMethodTest extends CompilerWhiteBoxTest { | 34 public class SetForceInlineMethodTest extends CompilerWhiteBoxTest { |
35 | 35 |
36 public static void main(String[] args) throws Exception { | 36 public static void main(String[] args) throws Exception { |
37 CompilerWhiteBoxTest.main(SetForceInlineMethodTest::new, args); | 37 for (TestCase test : TestCase.values()) { |
38 new SetForceInlineMethodTest(test).runTest(); | |
39 } | |
38 } | 40 } |
39 | 41 |
40 private SetForceInlineMethodTest(TestCase testCase) { | 42 public SetForceInlineMethodTest(TestCase testCase) { |
41 super(testCase); | 43 super(testCase); |
42 } | 44 } |
43 | 45 |
44 /** | 46 /** |
45 * Tests {@code WB::testSetForceInlineMethod()} by sequential calling it and | 47 * Tests {@code WB::testSetForceInlineMethod()} by sequential calling it and |