test/hotspot/jtreg/compiler/jvmci/compilerToVM/DoNotInlineOrCompileTest.java
changeset 47793 3dcd54513db1
parent 47216 71c04702a3d5
child 55206 2fe2063fe567
equal deleted inserted replaced
47792:2a5b7592ca11 47793:3dcd54513db1
    69         HotSpotResolvedJavaMethod method = CTVMUtilities
    69         HotSpotResolvedJavaMethod method = CTVMUtilities
    70                 .getResolvedMethod(aMethod);
    70                 .getResolvedMethod(aMethod);
    71         boolean hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method);
    71         boolean hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method);
    72         Asserts.assertFalse(hasNeverInlineDirective, "Unexpected initial " +
    72         Asserts.assertFalse(hasNeverInlineDirective, "Unexpected initial " +
    73                 "value of property 'hasNeverInlineDirective'");
    73                 "value of property 'hasNeverInlineDirective'");
    74         CompilerToVMHelper.setNotInlineableOrCompileable(method);
    74         CompilerToVMHelper.setNotInlinableOrCompilable(method);
    75         hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method);
    75         hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method);
    76         Asserts.assertTrue(hasNeverInlineDirective, aMethod
    76         Asserts.assertTrue(hasNeverInlineDirective, aMethod
    77                 + " : hasNeverInlineDirective is false even after setNotInlineableOrCompileable'");
    77                 + " : hasNeverInlineDirective is false even after setNotInlinableOrCompilable'");
    78     }
    78     }
    79 
    79 
    80     private static List<Executable> createTestCases() {
    80     private static List<Executable> createTestCases() {
    81         List<Executable> testCases = new ArrayList<>();
    81         List<Executable> testCases = new ArrayList<>();
    82 
    82