[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arturo Bernal resolved HTTPCLIENT-2290.
---------------------------------------
    Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 5.4-alpha1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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

Reply via email to