Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-539

XalanMap needs to compact buckets to prevent long search times and ever-increasing memory usage.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • CurrentCVS
    • CurrentCVS
    • XalanC
    • None

    Description

      XalanMap marks entries in its buckets as deleted, but never clears them out. So, if an instance has been additions and deletions, search times become linear and memory usage constantly increases.

      There is also an exception-safety issue in the rehash() function.

      I am preparing a patch.

      Attachments

        1. patch.txt
          17 kB
          David N Bertoni

        Issue Links

          Activity

            People

              dbertoni David N Bertoni
              dbertoni David N Bertoni
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: