On Sun, 17 Jan 2021 15:51:58 GMT, Peter Levart <plev...@openjdk.org> wrote:

> `newStringUTF8NoRepl(....)` does not contain this optimization.

Good catch: this optimization was in the original code for `newStringNoRepl` 
but not `newStringUTF8NoRepl`. I'll put it back to avoid a regression, but this 
time into `newStringUTF8NoRepl` so that both paths get the optimization.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2102

Reply via email to