arturobernalg opened a new pull request, #476:
URL: https://github.com/apache/httpcomponents-client/pull/476

   - Replaced `synchronized` blocks with `ReentrantLock` in `LeaseRequest` to 
better support virtual threads introduced in JDK 21.
   - Ensured each `LeaseRequest` instance has its own unique lock for 
maintaining original synchronization semantics.
   - Addressed potential performance and deadlock issues with virtual threads 
by using explicit lock primitives from `java.util.concurrent.locks`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to