[jdk11u-dev] RFR: 8279833: Loop optimization issue in String.encodeUTF8_UTF16
Thomas Stuefe
stuefe at openjdk.java.net
Tue Jan 25 10:52:40 UTC 2022
On Mon, 24 Jan 2022 14:34:30 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> 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.
LGTM
-------------
Marked as reviewed by stuefe (Reviewer).
PR: https://git.openjdk.java.net/jdk11u-dev/pull/791
More information about the jdk-updates-dev
mailing list