Details
-
Enhancement
-
Resolution: Fixed
-
P2
-
None
-
b20
Description
The http and https protocol handlers do blocking I/O operations while holding monitors. For the short term, this is problematic for light weight threads (a.k.a. fibers) as parking while holding a monitor will pin the underlying carrier thread.
This issue tracks exploring if the locking in HttpClient, HttpURLConnection, HttpsClient, and HttpsURLConnection can be re-examined to use j.u.c. locks around blocking I/O operations.
This issue tracks exploring if the locking in HttpClient, HttpURLConnection, HttpsClient, and HttpsURLConnection can be re-examined to use j.u.c. locks around blocking I/O operations.
Attachments
Issue Links
- relates to
-
JDK-8255124 KeepAliveStreamCleaner may crash with java.lang.IllegalMonitorStateException: current thread is not owner
- Resolved