From fdcc122a9db2f6fdeb014e9e731cd3992bb3d0f3 Mon Sep 17 00:00:00 2001 From: Chen Liang Date: Tue, 27 Jan 2026 00:15:13 +0000 Subject: [PATCH] 8376422: Run compiler/corelibs/OptionalFold.java with tiered compilation Reviewed-by: dholmes --- test/hotspot/jtreg/compiler/corelibs/OptionalFold.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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