RFR: 8245309: Re-examine use of ThreadLocalCoders in sun.net.www.ParseUtil

Daniel Fuchs dfuchs at openjdk.java.net
Tue Sep 15 09:50:19 UTC 2020


On Tue, 15 Sep 2020 08:53:35 GMT, Julia Boes <jboes at openjdk.org> wrote:

> Replaced the use of ThreadLocalCoders with regular non-caching CharsetEncoder and added a benchmark to confirm that
> there is no performance impact.

Hi Julia,

The code changes look good to me. For the benchmarks, I'll defer to the experts.

best regards,

-- daniel

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

Marked as reviewed by dfuchs (Reviewer).

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


More information about the net-dev mailing list