< prev index next >

test/compiler/jvmci/compilerToVM/ReprofileTest.java

Print this page

        

*** 44,54 **** import compiler.jvmci.common.CTVMUtilities; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import java.util.Random; ! import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl; import jdk.vm.ci.hotspot.CompilerToVMHelper; import jdk.vm.ci.meta.ProfilingInfo; import jdk.test.lib.Asserts; import jdk.test.lib.Utils; import sun.hotspot.WhiteBox; --- 44,54 ---- import compiler.jvmci.common.CTVMUtilities; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import java.util.Random; ! import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod; import jdk.vm.ci.hotspot.CompilerToVMHelper; import jdk.vm.ci.meta.ProfilingInfo; import jdk.test.lib.Asserts; import jdk.test.lib.Utils; import sun.hotspot.WhiteBox;
*** 76,86 **** } return testCases; } private static void runSanityTest(Method aMethod) { ! HotSpotResolvedJavaMethodImpl method = CTVMUtilities .getResolvedMethod(aMethod); ProfilingInfo startProfile = method.getProfilingInfo(); Asserts.assertFalse(startProfile.isMature(), aMethod + " : profiling info is mature in the begging"); --- 76,86 ---- } return testCases; } private static void runSanityTest(Method aMethod) { ! HotSpotResolvedJavaMethod method = CTVMUtilities .getResolvedMethod(aMethod); ProfilingInfo startProfile = method.getProfilingInfo(); Asserts.assertFalse(startProfile.isMature(), aMethod + " : profiling info is mature in the begging");
< prev index next >