test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java
changeset 51341 09cc8813ae51
parent 49654 16f53c9c7493
--- a/test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java	Wed Aug 08 15:34:32 2018 -0700
+++ b/test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java	Wed Aug 08 18:38:34 2018 -0700
@@ -362,6 +362,12 @@
                     System.out.println((j + 1) + ". invokation of " + baseClassName + i + "ASM.test() [::" +
                                        r.getName() + "() should be '" + tier[pass][j] + "' compiled]");
 
+                    // Skip Profiling compilation (C1) when Tiered is disabled.
+                    boolean profile = (level[pass][j] == CompilerWhiteBoxTest.COMP_LEVEL_FULL_PROFILE);
+                    if (profile && CompilerWhiteBoxTest.skipOnTieredCompilation(false)) {
+                        continue;
+                    }
+
                     WB.enqueueMethodForCompilation(r, level[pass][j]);
 
                     try {