-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b18
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2218924 | 7u4 | Igor Nekrestyanov | P3 | Closed | Fixed | b05 |
JDK-2225101 | 6u34 | Vladislav Karnaukhov | P3 | Closed | Fixed | b03 |
JDK-2224570 | 6u33 | Vladislav Karnaukhov | P3 | Closed | Fixed | b32 |
Spin of from 7118421.
Basic operations to compare URLs are not implemented efficiently as
a) they may still end up in DNS lookups
b) use case sensitive comparison when it is not needed
c) compare parts that often the same first (e.g. protocols)
JarDesc is often used in lists and maps but its equals/hashcode perform a lot of computations.
DeployClassLoader relies on ArrayList.contains() but this will use URL.equals() and result in DNS calls.
All this is results in slow down, especially if some DNS is slow of URLs are not valid.
(e.g. when launch from cache and being offline or behind firewall)
Basic operations to compare URLs are not implemented efficiently as
a) they may still end up in DNS lookups
b) use case sensitive comparison when it is not needed
c) compare parts that often the same first (e.g. protocols)
JarDesc is often used in lists and maps but its equals/hashcode perform a lot of computations.
DeployClassLoader relies on ArrayList.contains() but this will use URL.equals() and result in DNS calls.
All this is results in slow down, especially if some DNS is slow of URLs are not valid.
(e.g. when launch from cache and being offline or behind firewall)
- backported by
-
JDK-2218924 Tune URLUtils
-
- Closed
-
-
JDK-2224570 Tune URLUtils
-
- Closed
-
-
JDK-2225101 Tune URLUtils
-
- Closed
-
- relates to
-
JDK-7118421 RFE: JNLPClassLoader to use hashmap instead of ArrayList
-
- Closed
-
-
JDK-7182185 Fails to run applet that requests to be executed with installed 1.4.2_XX JRE
-
- Resolved
-