Skip to content

Commit

Permalink
8316411: compiler/compilercontrol/TestConflictInlineCommands.java fai…
Browse files Browse the repository at this point in the history
…ls intermittent with force inline by CompileCommand missing

Backport-of: e1870d360e05c372e672b519d7de2a60c333675b
  • Loading branch information
MBaesken committed Nov 2, 2023
1 parent bb7c86f commit 07a1490
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static void main(String[] args) throws Exception {
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",
Expand All @@ -77,6 +78,9 @@ public static void main(String[] args) {
sum += caller(i, 0);
}
}
System.out.println("sum is:" + sum);
System.out.flush();
System.err.flush();
}
}
}

1 comment on commit 07a1490

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.