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

Julia Boes jboes at openjdk.java.net
Tue Sep 15 09:01:12 UTC 2020


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

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

Commit messages:
 - Replace ThreadLocalCoders and add benchmark

Changes: https://git.openjdk.java.net/jdk/pull/170/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=170&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8245309
  Stats: 90 lines in 2 files changed: 81 ins; 2 del; 7 mod
  Patch: https://git.openjdk.java.net/jdk/pull/170.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/170/head:pull/170

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


More information about the net-dev mailing list