[
https://issues.apache.org/jira/browse/HTTPCLIENT-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arturo Bernal updated HTTPCLIENT-2290:
--------------------------------------
Fix Version/s: 5.4-alpha1
> 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: [email protected]
For additional commands, e-mail: [email protected]