Cp-John opened a new pull request #116: URL: https://github.com/apache/commons-pool/pull/116
Hi, I am a user of Apache commons pool2. I found that the performance of `returnObject(K)` would be improved a lot if I do a pre-check `getBlockWhenExhausted()` in `hasBorrowWaiters()`. The flame graphs are shared in the following link for comparison. Thank you! https://drive.google.com/drive/folders/11NLW4nzGMxxPwO_xjUa_nnZGciMrkpfn?usp=sharing -- 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: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org