Attila Kelemen created DBCP-591:
-----------------------------------

             Summary: Avoid synchronized in PoolableConnection.close
                 Key: DBCP-591
                 URL: https://issues.apache.org/jira/browse/DBCP-591
             Project: Commons DBCP
          Issue Type: Improvement
            Reporter: Attila Kelemen


org.apache.commons.dbcp2.PoolableConnection.close uses an intrinsic lock to 
synchronize its close method. However, this can be an issue since this pins the 
carrier thread of a virtual thread, needlessly degrading performance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to