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

Reviewed-by: mdoerr, chagedorn
  • Loading branch information
MBaesken committed Sep 20, 2023
1 parent ec74194 commit e1870d3
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();
}
}
}

3 comments on commit e1870d3

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@MBaesken
Copy link
Member Author

Choose a reason for hiding this comment

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

/backport jdk21u

@openjdk
Copy link

@openjdk openjdk bot commented on e1870d3 Oct 24, 2023

Choose a reason for hiding this comment

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

@MBaesken the backport was successfully created on the branch MBaesken-backport-e1870d36 in my personal fork of openjdk/jdk21u. To create a pull request with this backport targeting openjdk/jdk21u:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit e1870d36 from the openjdk/jdk repository.

The commit being backported was authored by Matthias Baesken on 20 Sep 2023 and was reviewed by Martin Doerr and Christian Hagedorn.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk21u:

$ git fetch https://github.com/openjdk-bots/jdk21u.git MBaesken-backport-e1870d36:MBaesken-backport-e1870d36
$ git checkout MBaesken-backport-e1870d36
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk21u.git MBaesken-backport-e1870d36

Please sign in to comment.