Fisherman110 commented on code in PR #941:
URL: https://github.com/apache/tomcat/pull/941#discussion_r3246896357


##########
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/StatementFinalizer.java:
##########
@@ -93,6 +96,22 @@ public void reset(ConnectionPool parent, PooledConnection 
con) {
         super.reset(parent, con);
     }
 
+    public void clearEntry() {
+        if(createStatementCount%10!=0) {

Review Comment:
   The function clearEntry() is called when a new statement is created and will 
be add to the list. Check line 50 in  StatementFinalizer.java
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to