diff test/compiler/whitebox/MakeMethodNotCompilableTest.java @ 20604:c88a4554854c

8046268: compiler/whitebox/ tests fail : must be osr_compiled Summary: Added code to 'warm up' the methods before triggering OSR compilation by executing them a limited number of times. Like this, the profile information marks the loop exit as taken and we don't add an uncommon trap. Reviewed-by: kvn, dlong, iignatyev
author thartmann
date Mon, 13 Oct 2014 12:30:37 +0200
parents d559dbbded7a
children f5f752e74840
line wrap: on
line diff
--- a/test/compiler/whitebox/MakeMethodNotCompilableTest.java	Fri Oct 31 11:13:41 2014 -0700
+++ b/test/compiler/whitebox/MakeMethodNotCompilableTest.java	Mon Oct 13 12:30:37 2014 +0200
@@ -138,7 +138,7 @@
         }
 
         compile();
-        checkNotCompiled();
+        checkNotOsrCompiled();
         if (isCompilable()) {
             throw new RuntimeException(method + " must be not compilable");
         }