Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-93

Reduce contention by making borrow & return more independent from each other

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1, 1.2, 1.3
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      Currently borrow & return are completely blocked from each other, while at least the factory-based validation & destruction can be handled independently. A few simple changes narrow the synchronization blocks yet retain overall correctness.

        Attachments

        1. relaxedReturnObjectBenchmark.txt
          2 kB
          Holger Hoffstätte
        2. pool-93-markt-v2.patch
          27 kB
          Mark Thomas
        3. perf-patch-GenericPool.txt
          4 kB
          Marcos Sanz
        4. GKOP-relaxedSyncOnReturn.patch
          4 kB
          Holger Hoffstätte
        5. GenericObjectPool.patch
          2 kB
          Marcos Sanz

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                h2o Holger Hoffstätte
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: