Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4304

C3P0 statement cache size is hardcoded to 50 entries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 2.7.11
    • None
    • None

    Description

      There is some evidence that cache should be larger (see below) but there's no way to alter this setting because it's set programmatically – see http://www.mchange.com/projects/c3p0/#configuration_precedence

      btpool0-316: RUNNABLE
         java.util.TreeMap.deleteEntry(TreeMap.java:2146)
         java.util.TreeMap.remove(TreeMap.java:585)
         com.mchange.v2.c3p0.stmt.GooGooStatementCache$Deathmarch.undeathmarchStatement(GooGooStatementCache.java:678)
         com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache.removeStatementFromDeathmarches(GlobalMaxOnlyStatementCache.java:50)
         com.mchange.v2.c3p0.stmt.GooGooStatementCache.checkoutStatement(GooGooStatementCache.java:188)
         com.mchange.v2.c3p0.impl.NewPooledConnection.checkoutStatement(NewPooledConnection.java:277)
         com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:199)
      <...>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              d98344f3942d Sergey Svishchev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: