From e1870d360e05c372e672b519d7de2a60c333675b Mon Sep 17 00:00:00 2001 From: Matthias Baesken Date: Wed, 20 Sep 2023 09:08:52 +0000 Subject: [PATCH] 8316411: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with force inline by CompileCommand missing Reviewed-by: mdoerr, chagedorn --- .../compiler/compilercontrol/TestConflictInlineCommands.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/hotspot/jtreg/compiler/compilercontrol/TestConflictInlineCommands.java b/test/hotspot/jtreg/compiler/compilercontrol/TestConflictInlineCommands.java index dc4aefcca16..2b33cbb5cef 100644 --- a/test/hotspot/jtreg/compiler/compilercontrol/TestConflictInlineCommands.java +++ b/test/hotspot/jtreg/compiler/compilercontrol/TestConflictInlineCommands.java @@ -52,6 +52,7 @@ public class TestConflictInlineCommands { analyzer.shouldNotContain("force inline by CompileCommand"); pb = ProcessTools.createJavaProcessBuilder( + "-Xbatch", "-XX:CompileCommand=dontinline,*TestConflictInlineCommands::*caller", "-XX:CompileCommand=inline,*TestConflictInlineCommands::caller", "-XX:CompileCommand=quiet", "-XX:CompileCommand=compileonly,*Launcher::main", @@ -77,6 +78,9 @@ public class TestConflictInlineCommands { sum += caller(i, 0); } } + System.out.println("sum is:" + sum); + System.out.flush(); + System.err.flush(); } } }