git: openjdk/jdk: master: 8353013: java.net.URI.create(String) may have low performance to scan the host/domain name from URI string when the hostname starts with number
Michael McMahon
michaelm at openjdk.org
Wed Apr 16 16:09:38 UTC 2025
Changeset: 84458ec1
Branch: master
Author: Rohitash Kumar <kurohita at amazon.com>
Committer: Michael McMahon <michaelm at openjdk.org>
Date: 2025-04-16 16:08:31 +0000
URL: https://git.openjdk.org/jdk/commit/84458ec18ce33295636f7b26b8e3ff25ecb349f2
8353013: java.net.URI.create(String) may have low performance to scan the host/domain name from URI string when the hostname starts with number
Reviewed-by: michaelm, xpeng
! src/java.base/share/classes/java/net/URI.java
! test/jdk/java/net/URI/Test.java
+ test/micro/org/openjdk/bench/java/net/URIAuthorityParsingBenchmark.java
More information about the jdk-changes
mailing list