test/compiler/compilercontrol/share/actions/CompileAction.java

Print this page

        

*** 77,90 **** () -> { execute(executable); return !WHITE_BOX.isMethodQueuedForCompilation(executable); }, 100L); execute(executable); ! boolean isCompiled = WHITE_BOX.isMethodCompiled(executable); ! Asserts.assertEQ(isCompiled, expectedCompiled, ! String.format("FAILED: method %s compiled: %b, but should: %b" ! + " on required level: %d", executable, isCompiled, expectedCompiled, level)); } private static void execute(Executable executable) { Callable<?> callable = getCallableFor(executable); --- 77,90 ---- () -> { execute(executable); return !WHITE_BOX.isMethodQueuedForCompilation(executable); }, 100L); execute(executable); ! boolean isCompilable = WHITE_BOX.isMethodCompilable(executable, level); ! Asserts.assertEQ(isCompilable, expectedCompiled, ! String.format("FAILED: method %s compilable: %b, but should: %b" ! + " on required level: %d", executable, isCompilable, expectedCompiled, level)); } private static void execute(Executable executable) { Callable<?> callable = getCallableFor(executable);