diff --git a/test/hotspot/jtreg/compiler/corelibs/OptionalFold.java b/test/hotspot/jtreg/compiler/corelibs/OptionalFold.java index 0661a2e37e6..1f850aaf7cd 100644 --- a/test/hotspot/jtreg/compiler/corelibs/OptionalFold.java +++ b/test/hotspot/jtreg/compiler/corelibs/OptionalFold.java @@ -41,7 +41,8 @@ import compiler.lib.ir_framework.TestFramework; public class OptionalFold { public static void main(String[] args) { - TestFramework.run(); + // Somehow fails with -XX:-TieredCompilation + TestFramework.runWithFlags("-XX:+TieredCompilation"); } // Ensure both present and empty values can fold