hotspot/test/compiler/whitebox/DeoptimizeAllTest.java
changeset 20294 af95d17f2e04
parent 19332 ee4c8c2af356
child 22214 c551021e75b2
equal deleted inserted replaced
20293:1dd93ae4304d 20294:af95d17f2e04
    51      *
    51      *
    52      * @throws Exception if one of the checks fails.
    52      * @throws Exception if one of the checks fails.
    53      */
    53      */
    54     @Override
    54     @Override
    55     protected void test() throws Exception {
    55     protected void test() throws Exception {
       
    56         if (testCase.isOsr && CompilerWhiteBoxTest.MODE.startsWith(
       
    57                 "compiled ")) {
       
    58           System.err.printf("Warning: %s is not applicable in %s%n",
       
    59                 testCase.name(), CompilerWhiteBoxTest.MODE);
       
    60           return;
       
    61         }
    56         compile();
    62         compile();
    57         checkCompiled();
    63         checkCompiled();
    58         WHITE_BOX.deoptimizeAll();
    64         WHITE_BOX.deoptimizeAll();
    59         checkNotCompiled();
    65         checkNotCompiled();
    60     }
    66     }