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
8279833: Loop optimization issue in String.encodeUTF8_UTF16 #791
Conversation
|
This backport pull request has now been updated with issue from the original commit. |
Hmm, the test is identical to master. I assume that is what you wanted. |
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.
LGTM
@GoeLin This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
The original uses text blocks ("""), I am using normal Strings and '+' to concatenate. The intend is to have the identical String as in master in the end. |
/integrate |
Going to push as commit 84ed967.
Your commit was automatically rebased without conflicts. |
I backport this for parity with 11.0.15-oracle.
The patch does not apply well.
8259842: Remove Result cache from StringCoding is missing in 11.
Therefore the actual change must be applied to StringCoding.java
and not to String.java. The method encodeUTF8_UTF16() was moved
from the one to the other file in 8259842.
8259842 change also brought the benchmark edited by this change.
I include the whole benchmark in this change. I had to adapt the strings
to compile with 11.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk11u-dev pull/791/head:pull/791
$ git checkout pull/791
Update a local copy of the PR:
$ git checkout pull/791
$ git pull https://git.openjdk.java.net/jdk11u-dev pull/791/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 791
View PR using the GUI difftool:
$ git pr show -t 791
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk11u-dev/pull/791.diff