Tag: java-http-client
-
Java 21 built-in http client pins the carrier thread
9 I’m using Java Corretto 21.0.0.35.1 build 21+35-LTS, and the built-in Java HTTP client to retrieve a response as an InputStream. I’m making parallel requests using virtual threads, and for the most part, it’s working well. However, occasionally, my testing encounters a "Pinning" event, as seen in the stack trace below. I believed that the…