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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. pool-93-markt-v2.patch
          27 kB
          Mark Thomas
        2. perf-patch-GenericPool.txt
          4 kB
          Marcos Sanz
        3. GenericObjectPool.patch
          2 kB
          Marcos Sanz
        4. relaxedReturnObjectBenchmark.txt
          2 kB
          Holger Hoffstätte
        5. GKOP-relaxedSyncOnReturn.patch
          4 kB
          Holger Hoffstätte

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              h2o Holger Hoffstätte

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment