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

[pool] patch to remove GenericKeyedObjectPool's dep on CursorableLinkedList

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3
    • None
    • Operating System: All
      Platform: All

    • 37431

    Description

      GenericKeyedObjectPool uses CursorableLinkedList (CLL) seemingly because the cursor/iterator from CLL
      allows concurrent access from multiple threads. Because the evictor requires exclusive access to the keyed
      object pool the benefit of CLL is never realized. (Idle object eviction is the only place the cursor/iterator
      was used.) This patch converts the CLL into a LinkedList removing the dependancy Collections.

      See COM-2547 for a similar patch for GenericObjectPool

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sandymac@apache.org Sandy McArthur (from Bugzilla import)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: