< prev index next >

test/compiler/jvmci/compilerToVM/DoNotInlineOrCompileTest.java

Print this page

        

*** 69,82 **** HotSpotResolvedJavaMethod method = CTVMUtilities .getResolvedMethod(aMethod); boolean hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method); Asserts.assertFalse(hasNeverInlineDirective, "Unexpected initial " + "value of property 'hasNeverInlineDirective'"); ! CompilerToVMHelper.doNotInlineOrCompile(method); hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method); Asserts.assertTrue(hasNeverInlineDirective, aMethod ! + " : hasNeverInlineDirective is false even after doNotInlineOrCompile'"); } private static List<Executable> createTestCases() { List<Executable> testCases = new ArrayList<>(); --- 69,82 ---- HotSpotResolvedJavaMethod method = CTVMUtilities .getResolvedMethod(aMethod); boolean hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method); Asserts.assertFalse(hasNeverInlineDirective, "Unexpected initial " + "value of property 'hasNeverInlineDirective'"); ! CompilerToVMHelper.setNotInlineableOrCompileable(method); hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method); Asserts.assertTrue(hasNeverInlineDirective, aMethod ! + " : hasNeverInlineDirective is false even after setNotInlineableOrCompileable'"); } private static List<Executable> createTestCases() { List<Executable> testCases = new ArrayList<>();
< prev index next >