< prev index next >

test/compiler/jvmci/compilerToVM/ShouldInlineMethodTest.java

Print this page

        

@@ -43,11 +43,11 @@
 import java.lang.reflect.Executable;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
 import jdk.vm.ci.hotspot.CompilerToVMHelper;
-import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl;
+import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
 import jdk.test.lib.Asserts;
 import sun.hotspot.WhiteBox;
 
 public class ShouldInlineMethodTest {
 

@@ -57,11 +57,11 @@
         List<Executable> testCases = createTestCases();
         testCases.forEach(ShouldInlineMethodTest::runSanityTest);
     }
 
     private static void runSanityTest(Executable aMethod) {
-        HotSpotResolvedJavaMethodImpl method = CTVMUtilities
+        HotSpotResolvedJavaMethod method = CTVMUtilities
                 .getResolvedMethod(aMethod);
         boolean shouldInline = CompilerToVMHelper.shouldInlineMethod(method);
         boolean expectedShouldInline = WB.testSetForceInlineMethod(aMethod,
                 true);
         Asserts.assertEQ(shouldInline, expectedShouldInline,
< prev index next >