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

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: CurrentCVS
    • Fix Version/s: CurrentCVS
    • Component/s: XalanC
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: