8376422: Run compiler/corelibs/OptionalFold.java with tiered compilation

Reviewed-by: dholmes
This commit is contained in:
Chen Liang 2026-01-27 00:15:13 +00:00
parent 12570be64a
commit fdcc122a9d

View File

@ -41,7 +41,8 @@ import compiler.lib.ir_framework.TestFramework;
public class OptionalFold { public class OptionalFold {
public static void main(String[] args) { 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 // Ensure both present and empty values can fold