-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
8, 11, 12, 13
A DESCRIPTION OF THE PROBLEM :
check the context-length (may be null in chunked encoding) before invoke Long.parseLong to avoid a large amount of gabage in a bunch of http call.
jdk/src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java
please see the patch at
https://github.com/wuhongzhi/openjdk-jdk8u/commit/d5cf8b756798b37873de764626d3f93f1e54c760
check the context-length (may be null in chunked encoding) before invoke Long.parseLong to avoid a large amount of gabage in a bunch of http call.
jdk/src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java
please see the patch at
https://github.com/wuhongzhi/openjdk-jdk8u/commit/d5cf8b756798b37873de764626d3f93f1e54c760
- duplicates
-
JDK-8297211 Expensive fillInStackTrace operation in HttpURLConnection.getOutputStream0 when no content-length in response
- Resolved