Mercurial > hg > graal-compiler
comparison test/compiler/whitebox/DeoptimizeMethodTest.java @ 12073:f99558245e5c
8022832: Add WB APIs for OSR compilation
Reviewed-by: kvn
author | iignatyev |
---|---|
date | Wed, 14 Aug 2013 23:50:23 +0400 |
parents | 11237ee74aae |
children | 303826f477c6 |
comparison
equal
deleted
inserted
replaced
12072:6c72125a2f40 | 12073:f99558245e5c |
---|---|
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 | 23 |
24 /* | 24 /* |
25 * @test DeoptimizeMethodTest | 25 * @test DeoptimizeMethodTest |
26 * @bug 8006683 8007288 8022832 | |
26 * @library /testlibrary /testlibrary/whitebox | 27 * @library /testlibrary /testlibrary/whitebox |
27 * @build DeoptimizeMethodTest | 28 * @build DeoptimizeMethodTest |
28 * @run main ClassFileInstaller sun.hotspot.WhiteBox | 29 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
29 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,TestCase$Helper::* DeoptimizeMethodTest | 30 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,TestCase$Helper::* DeoptimizeMethodTest |
30 * @summary testing of WB::deoptimizeMethod() | 31 * @summary testing of WB::deoptimizeMethod() |
52 */ | 53 */ |
53 @Override | 54 @Override |
54 protected void test() throws Exception { | 55 protected void test() throws Exception { |
55 compile(); | 56 compile(); |
56 checkCompiled(); | 57 checkCompiled(); |
57 WHITE_BOX.deoptimizeMethod(method); | 58 deoptimize(); |
58 checkNotCompiled(); | 59 checkNotCompiled(); |
59 } | 60 } |
60 } | 61 } |