8140350: compiler control tests fail with compiled: true, but should: false on required level: 1
authorppunegov
Wed, 28 Oct 2015 16:00:54 +0300
changeset 33474 6a1f70c3c73e
parent 33472 4300fda0e8bb
child 33475 3dc9257e9d0f
8140350: compiler control tests fail with compiled: true, but should: false on required level: 1 Summary: Replace isMethodCompiled with isMethodCompilable with particular level Reviewed-by: kvn
hotspot/test/compiler/compilercontrol/share/actions/CompileAction.java
--- a/hotspot/test/compiler/compilercontrol/share/actions/CompileAction.java	Tue Oct 27 18:05:20 2015 +0000
+++ b/hotspot/test/compiler/compilercontrol/share/actions/CompileAction.java	Wed Oct 28 16:00:54 2015 +0300
@@ -79,10 +79,10 @@
                     return !WHITE_BOX.isMethodQueuedForCompilation(executable);
                 }, 100L);
         execute(executable);
-        boolean isCompiled = WHITE_BOX.isMethodCompiled(executable);
-        Asserts.assertEQ(isCompiled, expectedCompiled,
-                String.format("FAILED: method %s compiled: %b, but should: %b"
-                        + " on required level: %d", executable, isCompiled,
+        boolean isCompilable = WHITE_BOX.isMethodCompilable(executable, level);
+        Asserts.assertEQ(isCompilable, expectedCompiled,
+                String.format("FAILED: method %s compilable: %b, but should: %b"
+                        + " on required level: %d", executable, isCompilable,
                         expectedCompiled, level));
     }