changeset 49654:2bf8f2fc0710

8200360: MeetIncompatibleInterfaceArrays fails with "MeetIncompatibleInterfaceArrays0ASM.run() must be compiled at tier 0 !" Reviewed-by: kvn, thartmann
author simonis
date Thu, 29 Mar 2018 14:50:25 +0200
parents 50a01910e00a
children 24aca5861b91
files test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java	Thu Mar 29 14:08:10 2018 +0200
+++ b/test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java	Thu Mar 29 14:50:25 2018 +0200
@@ -38,6 +38,7 @@
  *        -XX:+WhiteBoxAPI
  *        -Xbatch
  *        -XX:-TieredCompilation
+ *        -XX:TieredStopAtLevel=4
  *        -XX:CICompilerCount=1
  *        -XX:+PrintCompilation
  *        -XX:+PrintInlining
@@ -51,6 +52,7 @@
  *        -XX:+WhiteBoxAPI
  *        -Xbatch
  *        -XX:-TieredCompilation
+ *        -XX:TieredStopAtLevel=4
  *        -XX:CICompilerCount=1
  *        -XX:+PrintCompilation
  *        -XX:+PrintInlining
@@ -63,6 +65,8 @@
  *        -XX:+UnlockDiagnosticVMOptions
  *        -XX:+WhiteBoxAPI
  *        -Xbatch
+ *        -XX:+TieredCompilation
+ *        -XX:TieredStopAtLevel=4
  *        -XX:CICompilerCount=2
  *        -XX:+PrintCompilation
  *        -XX:+PrintInlining
@@ -379,7 +383,8 @@
                                        r.getName() + "() was compiled at tier " + r_comp_level + "]");
 
                     if (r_comp_level != level[pass][j]) {
-                      throw new Exception("Method " + r + " must be compiled at tier " + r_comp_level + " !");
+                      throw new Exception("Method " + r + " must be compiled at tier " + level[pass][j] +
+                                          " but was compiled at " + r_comp_level + " instead!");
                     }
 
                     WB.deoptimizeMethod(r);