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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1, 1.2, 1.3
    • 1.4
    • 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. GenericObjectPool.patch
          2 kB
          Marcos Sanz
        2. GKOP-relaxedSyncOnReturn.patch
          4 kB
          Holger Hoffstätte
        3. perf-patch-GenericPool.txt
          4 kB
          Marcos Sanz
        4. pool-93-markt-v2.patch
          27 kB
          Mark Thomas
        5. relaxedReturnObjectBenchmark.txt
          2 kB
          Holger Hoffstätte

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: