8384834: Remove CompilationMode flag#31378
Conversation
|
👋 Welcome back April-Ivy! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@April-Ivy The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
|
The total number of required reviews for this PR has been set to 2 based on the presence of this label: |
|
@anton-seoane @mhaessig could you take a look? Thanks! |
mhaessig
left a comment
There was a problem hiding this comment.
Thank you for this excellent work, @aprilivy!
Unfortunately, I filed this with too little information as this is my first time removing a product flag. CompilerMode is a product flag and by the Hotspot flags lifecycle we must deprecate it first.
Hence, we cannot go ahead with this yet. However, this change is more or less what is needed for obsoleting the flag, so we can use it then. This be in a one or two releases time.
Apologies for my negligent filing of this issue. But this will come in useful.
Thanks @mhaessig, and no need to apologise. Makes sense, and glad it'll be useful for the obsolete step down the line. I'll leave this up so the branch is ready to reuse when that step comes around, and I'll convert it to a draft in the meantime so it isn't sitting in the review queue. Thanks for walking me through the flag lifecycle. |
As noted in https://bugs.openjdk.org/browse/JDK-8384834, remove the -XX:CompilationMode product flag now that JVMCI has been removed. Compiler policy paths previously branching on CompilationModeFlag have been replaced with existing CompilerConfig checks, and tests updated accordingly.
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31378/head:pull/31378$ git checkout pull/31378Update a local copy of the PR:
$ git checkout pull/31378$ git pull https://git.openjdk.org/jdk.git pull/31378/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31378View PR using the GUI difftool:
$ git pr show -t 31378Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31378.diff
Using Webrev
Link to Webrev Comment