8022832: Add WB APIs for OSR compilation

Reviewed-by: kvn
This commit is contained in:
Igor Ignatyev 2013-08-14 23:50:23 +04:00
parent f9cf9e88b8
commit caa3d02130
14 changed files with 371 additions and 125 deletions

View file

@ -23,6 +23,7 @@
/*
* @test DeoptimizeMethodTest
* @bug 8006683 8007288 8022832
* @library /testlibrary /testlibrary/whitebox
* @build DeoptimizeMethodTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
@ -54,7 +55,7 @@ public class DeoptimizeMethodTest extends CompilerWhiteBoxTest {
protected void test() throws Exception {
compile();
checkCompiled();
WHITE_BOX.deoptimizeMethod(method);
deoptimize();
checkNotCompiled();
}
}