Arturo Bernal created HTTPCLIENT-2290: -----------------------------------------
Summary: Refactoring of synchronized sections to use lock primitives in light of virtual threads Key: HTTPCLIENT-2290 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2290 Project: HttpComponents HttpClient Issue Type: Improvement Reporter: Arturo Bernal With the upcoming inclusion of virtual threads in JDK 21, we need to review and refactor sections of the HttpClient codebase that use the {{synchronized}} keyword. As virtual threads might introduce performance and deadlock issues with the current {{synchronized}} sections, we'll move towards using explicit lock primitives provided by the {{java.util.concurrent.locks}} package, such as {{{}ReentrantLock{}}}. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org