test/compiler/whitebox/MakeMethodNotCompilableTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff test/compiler/whitebox/MakeMethodNotCompilableTest.java

test/compiler/whitebox/MakeMethodNotCompilableTest.java

Print this page

        

*** 130,147 **** WHITE_BOX.clearMethodState(method); if (!isCompilable()) { throw new RuntimeException(method + " is not compilable after clearMethodState()"); } ! makeNotCompilable(); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); } ! compile(); ! checkNotOsrCompiled(); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); } // WB.clearMethodState() must reset no-compilable flags WHITE_BOX.clearMethodState(method); --- 130,148 ---- WHITE_BOX.clearMethodState(method); if (!isCompilable()) { throw new RuntimeException(method + " is not compilable after clearMethodState()"); } ! // Make method not (OSR-)compilable (depending on testCase.isOsr()) makeNotCompilable(); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); } ! // Try to (OSR-)compile method compile(); ! // Method should not be (OSR-)compiled ! checkNotCompiled(testCase.isOsr()); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); } // WB.clearMethodState() must reset no-compilable flags WHITE_BOX.clearMethodState(method);
test/compiler/whitebox/MakeMethodNotCompilableTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File