-
Couldn't load subscription status.
- Fork 6.1k
8339067: Convert Threshold flags (like Tier4MinInvocationThreshold and Tier3MinInvocationThreshold) to double #21354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👋 Welcome back amitkumar! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@offamitkumar 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. |
|
I did a build, fastdebug-vm, with |
Webrevs
|
|
Hi, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reasons Tier2*Threshold flags were bit changed? For consistency.
I guess you're asking why I left them unchanged? I looked into the project, and couldn't find where those flags are being used, so I left them unchanged at first. However, I've now updated them to |
|
Instead of changing the |
Yes, we need CSR for these changes if we do as they are now. Have cast or assign to local variable is preferable, I agree. |
is that required ? Aren't integers, by default, will be treated as double if they are multiplied by a double data type value ? |
Yes, you are right. This RFE could be NOP. My suggestion in JDK-8333098 PR was based on assumption that these flags may cause rounding issue if they are used in integer expressions. Or result of double expression is converted into integer. But it is used only double expression again: |
|
I think we should close this RFE as "Not an Issue". Change |
Sure I will close it. Thanks for the inputs :-) |
This is trivial PR to change data type of some "*Threshold" variables form
intxtodouble.Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/21354/head:pull/21354$ git checkout pull/21354Update a local copy of the PR:
$ git checkout pull/21354$ git pull https://git.openjdk.org/jdk.git pull/21354/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 21354View PR using the GUI difftool:
$ git pr show -t 21354Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/21354.diff
Webrev
Link to Webrev Comment