--- a/hotspot/test/compiler/whitebox/DeoptimizeMethodTest.java Sat Sep 28 12:32:09 2013 +0400
+++ b/hotspot/test/compiler/whitebox/DeoptimizeMethodTest.java Sat Sep 28 12:32:10 2013 +0400
@@ -53,6 +53,12 @@
*/
@Override
protected void test() throws Exception {
+ if (testCase.isOsr && CompilerWhiteBoxTest.MODE.startsWith(
+ "compiled ")) {
+ System.err.printf("Warning: %s is not applicable in %s%n",
+ testCase.name(), CompilerWhiteBoxTest.MODE);
+ return;
+ }
compile();
checkCompiled();
deoptimize();