[
https://issues.apache.org/jira/browse/DBCP-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905833#comment-17905833
]
Gary D. Gregory commented on DBCP-591:
--------------------------------------
[~rajugupta] why?
> 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
> Priority: Minor
>
> 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)