RFR: 8259842: Remove Result cache from StringCoding [v5]

Claes Redestad redestad at openjdk.java.net
Sun Jan 17 22:42:54 UTC 2021

On Sun, 17 Jan 2021 15:51:58 GMT, Peter Levart <plevart at 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

More information about the core-libs-dev mailing list