hg: jdk/sandbox: 8245308: Replace ThreadLocalCoders decoder/encoder cache in java.net.URI.

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Aug 28 18:00:21 UTC 2020


Changeset: ec0cabbc527f
Author:    ryadav
Date:      2020-08-28 18:05 +0100
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/ec0cabbc527f

8245308: Replace ThreadLocalCoders decoder/encoder cache in java.net.URI.
Summary: This fix updates java.net.URI and replaces the ThreadLocalCoders optimization.
Reviewed-by: alanb, dfuchs

! src/java.base/share/classes/java/net/URI.java
+ test/micro/org/openjdk/bench/java/net/ThreadLocalURI.java



More information about the jdk-sandbox-changes mailing list