Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-37

PriorityQueue.clear() does not set last element to null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/other
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      9454

      Description

      The code for the clear() method of the PriorityQueue in 1.4 rc5 and the nightly
      CVS of 27/04/2002 does not set the last element in the array to null, so its
      contents can be garbage-collected.

        Attachments

          Activity

            People

            • Assignee:
              java-dev@lucene.apache.org Lucene Developers
              Reporter:
              m.j.bomhoff@student.utwente.nl Matthijs Bomhoff
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: