Mercurial > hg > truffle
comparison test/compiler/whitebox/SetDontInlineMethodTest.java @ 18041:52b4284cb496
Merge with jdk8u20-b26
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 15 Oct 2014 16:02:50 +0200 |
parents | 4ca6dc0799b6 |
children |
comparison
equal
deleted
inserted
replaced
17606:45d7b2c7029d | 18041:52b4284cb496 |
---|---|
25 * @test SetDontInlineMethodTest | 25 * @test SetDontInlineMethodTest |
26 * @bug 8006683 8007288 8022832 | 26 * @bug 8006683 8007288 8022832 |
27 * @library /testlibrary /testlibrary/whitebox | 27 * @library /testlibrary /testlibrary/whitebox |
28 * @build SetDontInlineMethodTest | 28 * @build SetDontInlineMethodTest |
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,TestCase$Helper::* SetDontInlineMethodTest | 30 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* SetDontInlineMethodTest |
31 * @summary testing of WB::testSetDontInlineMethod() | 31 * @summary testing of WB::testSetDontInlineMethod() |
32 * @author igor.ignatyev@oracle.com | 32 * @author igor.ignatyev@oracle.com |
33 */ | 33 */ |
34 public class SetDontInlineMethodTest extends CompilerWhiteBoxTest { | 34 public class SetDontInlineMethodTest extends CompilerWhiteBoxTest { |
35 | 35 |
36 public static void main(String[] args) throws Exception { | 36 public static void main(String[] args) throws Exception { |
37 for (TestCase test : TestCase.values()) { | 37 CompilerWhiteBoxTest.main(SetDontInlineMethodTest::new, args); |
38 new SetDontInlineMethodTest(test).runTest(); | |
39 } | |
40 } | 38 } |
41 | 39 |
42 public SetDontInlineMethodTest(TestCase testCase) { | 40 private SetDontInlineMethodTest(TestCase testCase) { |
43 super(testCase); | 41 super(testCase); |
44 } | 42 } |
45 | 43 |
46 /** | 44 /** |
47 * Tests {@code WB::testSetDontInlineMethod()} by sequential calling it and | 45 * Tests {@code WB::testSetDontInlineMethod()} by sequential calling it and |