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

GOP/GKOP close() - incorrect behaviour with evict() ?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None

    Description

      GOP/GKOP close() methods close the pool before stopping the evictor; that seems wrong.

      The evict() method calls assertOpen() so the evictor thread should be stopped before closing the pool.

      Also, the evictor thread should probably be allowed to complete if currently active.

      Not sure about calling clear() before the evictor is cancelled; should perhaps be run afterwards?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: